Could you please explain the difference, and purpose, of the two properties Legend.Symbol.Width and Legend.ColorWidth?
Also, when Legend.Symbol.WidthUnits is set to lcsPixels, what is that a measurement of? Is that screen pixels, as in 1 / 96 of an inch, is it pixels like points, where it's 1/72 ", is it twips (1/1440 "), or even something else?
Similarly, when Chart.MarginUnits is set to muPixels, how granular is a pixel there?
Thank you!
Regards,
richard diamond
Legend.Symbol.Width vs. Legend.ColorWidth, and pixels / what
Hello Richard,
ColorWidth modifies Legend.Symbol.Width.
lcsPixels defines screen pixels. The visual effect, granularity, will depend on your screen resolution (eg. on a 1280 pixel width screen the change of one pixel is of lower percentual effect than on an 800 pixel wide screen).
Regards,
Marc
ColorWidth modifies Legend.Symbol.Width.
lcsPixels defines screen pixels. The visual effect, granularity, will depend on your screen resolution (eg. on a 1280 pixel width screen the change of one pixel is of lower percentual effect than on an 800 pixel wide screen).
Regards,
Marc
Steema Support
Marc,
Okay, thank you..
That then leads to my original reason for asking. Does this suggest a system's screen resolution (96 or 120 dpi) will affect, say, the margin effect?
Given the following:
Will the chart produced by sending that file to printer differ if printed from a 96dpi screen resolution system than one printed from a 120dpi system?
Regards,
richard diamond
Okay, thank you..
That then leads to my original reason for asking. Does this suggest a system's screen resolution (96 or 120 dpi) will affect, say, the margin effect?
Given the following:
Code: Select all
procedure SomeProcedure;
var
Meta : TMetaFile;
begin
// let's say when it comes in here, the chart's already been created, then...
Chart1.MarginUnits := muPixels;
Chart1.LeftMargin := 10;
Meta:=Chart1.TeeCreateMetafile(True, Rect( 0, 0, Chart1.Width, Chart1.Height ) );
try
Meta.SaveToFile( 'ffchart.emf' );
finally
Meta.Free;
end;
end;
Regards,
richard diamond
Hello Richard,
Yes, it should differ.Will the chart produced by sending that file to printer differ if printed from a 96dpi screen resolution system than one printed from a 120dpi system?
Pep Jorge
http://support.steema.com
http://support.steema.com