Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

X-Axis maximum displayed values

 Post Reply Post Reply
Author
Lombe Lambert View Drop Down
New Member
New Member
Avatar

Joined: 11 Dec 2012
Posts: 15
Post Options Post Options   Quote Lombe Lambert Quote  Post ReplyReply Direct Link To This Post Topic: X-Axis maximum displayed values
    Posted: 04 Apr 2014 at 2:05pm
Hi.
Havinge a serie with 20 x-values, how can I display only 5 values and use the navigator for the other values ? The component used is TTIWDBAdvChart.
Thanks
Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3221
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 07 Apr 2014 at 2:45am
Hi, 

The navigator is not supported in IntraWeb. You can change the range programmatically by using the following code:

var
  c: TTIWAdvChart;
  I: Integer;
begin
  c := TTIWAdvChart.Create(Self);
  c.Parent := Self;
  c.BeginUpdate;
  c.Chart.Series.Add;
  c.Chart.Range.RangeFrom := 0;
  c.Chart.Range.RangeTo := 4;
  c.Chart.Navigator.Visible := True;
  for I := 0 to 19 do
    c.Chart.Series[0].AddSinglePoint(Random(100));
  c.EndUpdate;

Kind Regards,
Pieter
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down