Hi,
the problem is that you are trying to add a Bar series to the Chart instead of a Gauge series.
You should do :
m_cTeeChartGauge.AddSeries(42);
instead of:
m_cTeeChartGauge.AddSeries(1);
Best Regards
Josep Lluis Jorge
Steema Support Central
Search found 3272 matches
- Tue Nov 18, 2003 9:55 am
- Forum: ActiveX
- Topic: Adding a Gauge when I already have a Line CHart
- Replies: 2
- Views: 11751
- Fri Nov 14, 2003 2:49 pm
- Forum: VCL
- Topic: Anti-alias in realtime graph
- Replies: 1
- Views: 10453
Hi Gusmoko, you can use the Antialias method as in the following example : implementation uses TeCanvas; {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin Series1.FillSampleValues(1000); end; procedure TForm1.CheckBox1Click(Sender: TObject); begin Chart1.Invalidate; end; procedure TForm...