This is a migrated thread and some comments may be shown as answers.

Logarithmic Scale Display Issues

1 Answer 56 Views
Chart
This is a migrated thread and some comments may be shown as answers.
RoadWarrior
Top achievements
Rank 1
RoadWarrior asked on 22 Sep 2010, 05:17 PM
When using AxisY.IsLogarithmic = true; SeriesItemLabels are often cut off at the high and low values depending on the range of values in the series.  Attached are two screenshots (with and without Logarithmic) to show the difference.  

Note that on the Logarithmic display cuts the ItemSeriesLabel off on both ends.  The "Zero" label is 50% cut off and several of the larger series values are cut off entirely (e.g. 180).  Please advise.  

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 27 Sep 2010, 05:02 PM
Hi RoadWarrior,

As the label positioning algorithm attempts to place the labels near the top of the bars and the bars value (>100) does not fall within the axis range the labels get cut off to some degree. To prevent the high value labels from getting cut I would recommend you to use code like this:
RadChart1.DefaultView.ChartArea.AxisY.ExtendDirection = AxisExtendDirection.Up;

As for the zero value labels, It is a known issue and will be fixed for a future version of the control. Please, accept our apologies for this inconvenience.

All the best,
Ryan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
RoadWarrior
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or