How to set Line chart axis minimum automatically when all the values are zero

1 Answer 22 Views
Report Designer (standalone)
Su
Top achievements
Rank 1
Su asked on 07 Jul 2021, 01:38 AM | edited on 07 Jul 2021, 01:49 AM

hi,

I have a question about Line chart. When all the data values are zero, the line is drawing at the axis line. I would like to adjust the axis line to less than zero automatically for this case. I have attached the existing and expected screenshots. 

How to set the Y axis scale minimum value to less than zero when all the data value are zero. 

Thanks in advance

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Neli
Telerik team
answered on 09 Jul 2021, 11:15 AM

Hi Su,

You can test adding a Binding to the coordinate system. From the graph's properties, go to to Presentation -> CoordinateSystems -> Bindings. Select YAxis.Scale.Minimum from the dropdown and define the expression.

Please, give this a try and let me know if you need further help.

Regards,
Neli
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Designer (standalone)
Asked by
Su
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or