How to change values in Bargraph
How to change values in Bargraph
I like to change values in bar-graph. The chart consists of one series and four bars. I like to change the value of the bars. How could this be realized?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Maximator,
One option would be using DragPoint tool as shown in the All Features\Welcome\Tools\Drag Point example in the new features demo, available at TeeChart's program group.
The second option would be doing it at runtime like this:
Hope this helps!
One option would be using DragPoint tool as shown in the All Features\Welcome\Tools\Drag Point example in the new features demo, available at TeeChart's program group.
The second option would be doing it at runtime like this:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
var i: Integer;
begin
for i:=0 to Series1.Count-1 do
Series1.YValue[i]:=Series1.YValue[i]*2;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |