TLineSeries: How to change (Line)Pen Style?
Posted: Mon Jul 26, 2004 3:53 pm
TeeChart 6Pro and BCB6Pro:
Coding snippet(s)
//-----
TLineSeries *serie = new TLineSeries (this);
serie->Pen->Width = 1;
//----- coding: Adding values to serie...
serie->Pen->Style = psDashDot;
//------
No matter what Pen->Style I use, the line is allways is drawn Solid!
serie->LinePen->Style = psDashDot results in compiler error:
'LinePen' is not a member of 'TChartSeries'
How can I get the line drawn in the style I want?
Thanks in advance,
Wiebe
Coding snippet(s)
//-----
TLineSeries *serie = new TLineSeries (this);
serie->Pen->Width = 1;
//----- coding: Adding values to serie...
serie->Pen->Style = psDashDot;
//------
No matter what Pen->Style I use, the line is allways is drawn Solid!
serie->LinePen->Style = psDashDot results in compiler error:
'LinePen' is not a member of 'TChartSeries'
How can I get the line drawn in the style I want?
Thanks in advance,
Wiebe