How Do I Set the X-Axis Range using an Expression?

Stimulsoft Reports.BLAZOR discussion
Post Reply
Sethlarkes
Posts: 1
Joined: Wed May 07, 2025 8:50 am

How Do I Set the X-Axis Range using an Expression?

Post by Sethlarkes »

Hello, is it possible to establish a chart's X-Axis range using an expression or a data source? I have two independent charts that I want to use the same range depending on a variable rather than automating or hard-coding values. If not, is there another method to make one chart's x-axis range match another's?
Max Shamanov
Posts: 990
Joined: Tue Sep 07, 2021 10:11 am

Re: How Do I Set the X-Axis Range using an Expression?

Post by Max Shamanov »

Hello,

Unfortunately, it is not possible to change the X-axis range depending on the variable or data source.
You can try to set the desired X-axis range yourself by specifying the minimum and maximum values.

Thank you.
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: How Do I Set the X-Axis Range using an Expression?

Post by Lech Kulikowski »

Hello,

You can use the Blockly code.

Thank you.
Attachments
12.mrt
(879.75 KiB) Downloaded 104 times
Screenshot 2025-05-15 131229.png
Screenshot 2025-05-15 131229.png (263.51 KiB) Viewed 887 times
Post Reply