Page 1 of 1

Chart Grid--show only specific lines/values

Posted: Mon Apr 21, 2014 5:59 pm
by 10546565
In a chart grid, I would like to only show lines for specific values. For example, in the image below:

Image

If I only wanted to show line and values for 15 and 25 for the left axis (the lower bounds of the two series) and 10 and 30 for the bottom axis, could I do that?

Re: Chart Grid--show only specific lines/values

Posted: Tue Apr 22, 2014 9:33 am
by yeray
Hello,

You can use custom labels for that. Ie:

Code: Select all

  with Chart1.Axes.Left do
  begin
    Items.Clear;
    Items.Add(15, '15');
    Items.Add(25, '25');
  end;

  with Chart1.Axes.Bottom do
  begin
    Items.Clear;
    Items.Add(10, '10');
    Items.Add(30, '30');
  end;