line styles and other styles
line styles and other styles
Is there a convenient table somewhere in the documentation that lists the possible styles that one can use for lines (such as arrows)? Dotted, dashed, etc. I would assume but i cannot find a reference. I did find a list of the possible pointer styles.
Re: line styles and other styles
Hello,
The TLineSeries has a LinePen property that is a TChartPen:
http://www.teechart.net/docs/teechart/v ... nePen.html
TChartPen inherits from TPen.
TPen has a Style property that is a TPenStyle. You can see a list of TPenStyles there.
The TLineSeries has a LinePen property that is a TChartPen:
http://www.teechart.net/docs/teechart/v ... nePen.html
TChartPen inherits from TPen.
TPen has a Style property that is a TPenStyle. You can see a list of TPenStyles there.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: line styles and other styles
Thanks. The last link is the one I wanted. It would be nice to have such tables easy to find within the TeeChart documentation.
Re: line styles and other styles
Hello,
Two alternatives are, when coding:
1. Pressing F1 when the cursor is over the "Style" word should open the Help program shipped with the IDE with the page for the Style property open. Then, you could click on the TPenStyle class to see the values supported.
2. Pressing Ctrl+Click on the "Style" word should send you to the (Vcl.)Graphics.pas unit framework where says:
Then you could Ctrl+Click on the "TPenStyle" world to jump to the definition of that type.
The rest of the post was trying to explain why it's where it is, because it is a property of a class in Embarcadero's framework.fjrohlf wrote:Thanks. The last link is the one I wanted. It would be nice to have such tables easy to find within the TeeChart documentation.
Two alternatives are, when coding:
Code: Select all
line1.LinePen.Style //considering line1 is an instance of the TLineSeries class
2. Pressing Ctrl+Click on the "Style" word should send you to the (Vcl.)Graphics.pas unit framework where says:
Code: Select all
property Style: TPenStyle read GetStyle write SetStyle default psSolid;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: line styles and other styles
Thanks!