Posted 17 May 2023, 6:10 am EST
I have a VisualStudio ActiveReports 15.1 section report stacked bar chart. I want to programmatically change the labelling/scaling on the Y-Axis. Is there a way to do this?
Thank you,
Daniel
Forums Home / ActiveReports / ActiveReports v7+
Posted by: daniels on 17 May 2023, 6:10 am EST
Posted 17 May 2023, 6:10 am EST
I have a VisualStudio ActiveReports 15.1 section report stacked bar chart. I want to programmatically change the labelling/scaling on the Y-Axis. Is there a way to do this?
Thank you,
Daniel
Posted 21 May 2023, 10:54 am EST
Hi Daniel,
Unfortunately, AFAIK it is not possible to provide custom values to the Y-Axis in a SectionReport, it can only be achieved with the X-Axis.
Apologies for the inconvenience.
Regards,
Anand
Posted 23 May 2023, 7:03 am EST
Hi Anand,
Is it possible to customize or specify the scaling of the Y-Axis?
Example: my output gives me values in a scale of 0, 1.5, 2 ect. The values it’s using are in the 1000s, and I would prefer that the values in the Y-Axis reflect that the report values are 1000s.
Thank you,
Daniel
Posted 23 May 2023, 7:03 am EST
Hi Anand,
Is it possible to customize or specify the scaling of the Y-Axis?
Example: my output gives me values in a scale of 0, 1.5, 2 ect. The values it’s using are in the 1000s, and I would prefer that the values in the Y-Axis reflect that the report values are 1000s.
Thank you,
Daniel
Posted 25 May 2023, 3:41 pm EST
Hi Daniel,
Although there’s no way to assign a custom label value to the axis as your values are 1, 2, and 3 you can use the ‘Label Format’ to assign a custom format such as ‘{0:#“000”}’ to show 1, 2, 3 as 1000, 2000, 3000.
However, while creating a sample we could observe the label format does not seem to work with Y-axis, we have escalated the same to our development team [Ticket ID: AR-30949] and will let you know of any updates we get from them.
Thanks for your patience.
Regards,
Anand