Page 1 of 1

Chart with left and right y-axis. Issue with range

Posted: Wed Feb 08, 2023 3:25 pm
by tstraet
Hi,

I'm using Stimulsoft 2020.5.2. But I just downloaded the trial of 2023.1.6 to see if there is a solution in the upgraded version. But I can't get it to work in either version.

I'm using a chart to display two series.
Series 1 displays values in between 92-102 in function of time.
Series 2 displays values in between 0-3 in function of the same time as series 1.

Initially I configure Series 1 to use y-axis 1. I configure y-axis 1 with a range of 0-102
Then I configure Series 2 to use y-axis 2. I configure y-axis 2 with a range of 0-3

Until here everything is OK.

I want series 1 to use a range from 92-102. So In the properties of Y-axis 1 I set...
- auto: false
- range: 92-102
- start from zero: false

Then you can see the problem: Y-axis 2 is not respecting its settings anymore. The range is no longer 0-3. There are no labels displayed and its not clear what the exact range is at this point.
If you go to Y-axis 2 properties -> Label -> Set step to 0.1 then you can see labels again. It seems the range is now roughly from 2.3 - 2.8

How can I achieve a graph with two y-axis' that respect their range settings?

Thanks in advance,
Toon

Re: Chart with left and right y-axis. Issue with range

Posted: Wed Feb 08, 2023 5:56 pm
by Max Shamanov
Hello,

Please send us a sample report with test data that reproduce the issue.

Thank you.

Re: Chart with left and right y-axis. Issue with range

Posted: Thu Feb 09, 2023 12:55 pm
by tstraet
In attachment you can find a report, created with Stimulsoft 2020.5.2, that contains two charts. The json file contains the values of the chart.
I created a new report to show this problem. So the numbers are a bit different. But I was able to demonstrate the problem.

The second chart is there to show the problem. The right y-axis does not behave as expected and the data of the second series is not visible because it is out of bounds.

The first chart is there so you can see the data of both series. But the problem is with the second chart.

Thank you.

Re: Chart with left and right y-axis. Issue with range

Posted: Fri Feb 10, 2023 8:30 pm
by Max Shamanov
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.

Re: Chart with left and right y-axis. Issue with range

Posted: Wed Feb 15, 2023 12:51 pm
by Max Shamanov
Hello,

Unfortunately, it is not possible to set a different range for the right and left y-axis.

Thank you.

Re: Chart with left and right y-axis. Issue with range

Posted: Thu Feb 16, 2023 9:14 am
by tstraet
That's unfortunate. At least I can stop spending time in this topic, I was thinking I was doing something wrong. I'll display the data without the second Y-axis. Thanks for your time.

Re: Chart with left and right y-axis. Issue with range

Posted: Thu Feb 16, 2023 8:06 pm
by Max Shamanov
Hello,

You are Welcome!