How do I change the Y axis origin

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
MiracleNiko
Posts: 2
Joined: Fri Jul 15, 2022 7:25 am

How do I change the Y axis origin

Post by MiracleNiko » Fri Jul 15, 2022 7:33 am

How to achieve the effect in the attachment?

The corresponding Settings are not found in the example.

The above use of translation software, may be biased.
Attachments
790179e9289a4adda10bc3ff7e72a74.png
790179e9289a4adda10bc3ff7e72a74.png (119.64 KiB) Viewed 1366 times

MiracleNiko
Posts: 2
Joined: Fri Jul 15, 2022 7:25 am

Re: How do I change the Y axis origin

Post by MiracleNiko » Fri Jul 15, 2022 7:52 am

As shown in the figure.
Attachments
Snipaste_2022-07-15_15-51-17.png
Snipaste_2022-07-15_15-51-17.png (24.96 KiB) Viewed 1362 times

Arction_LasseP
Posts: 141
Joined: Wed Mar 27, 2019 1:05 pm

Re: How do I change the Y axis origin

Post by Arction_LasseP » Mon Jul 18, 2022 7:10 am

Hello,

If I understood correctly, you want to base level of the bars to be something else that 0, for example 67.26 like in the second picture. This can be achieved via BaseLevel property for the BarSeries.

barSeries.BaseLevel = 67.26;

Other settings should be found in the demo examples such as Bars with negative values or Simple bar chart.

Best regards,
Lasse

Post Reply