RadHtmlChart scatterChart bar inversed

1 Answer 90 Views
Chart (HTML5)
Didier
Top achievements
Rank 2
Iron
Iron
Didier asked on 28 Apr 2022, 10:20 AM

Hi all,

I display in a bar chart really small value in milli Bar.

Since these valeus are smaller than zero, but not negative .. the bar are displayed from the top ... ??

How to changed that ? (to start from the bottom).

If i reverse the YAxis, is not correct since the smallest value is represented by a bigger bar ?


Regards,

Didier

1 Answer, 1 is accepted

Sort by
0
Didier
Top achievements
Rank 2
Iron
Iron
answered on 28 Apr 2022, 12:04 PM

I found the solution !

 

set a really small value to yAxis (logarithm axe)

scatterChart.PlotArea.YAxis.AxisCrossingValue = (Decimal)0.000000000000001;

 

Vessy
Telerik team
commented on 02 May 2022, 05:56 AM

Thank you for sharing the found solution with the community, Didier! I am glad you have found a way to workaround the undesired behavior.
Tags
Chart (HTML5)
Asked by
Didier
Top achievements
Rank 2
Iron
Iron
Answers by
Didier
Top achievements
Rank 2
Iron
Iron
Share this question
or