RoxanaC
Posted
on Feb 8, 2010
(permalink)
Hello!
I use the following line in my code:
this.telerikChart.DefaultView.ChartArea.AxisY.DefaultLabelFormat =
"#VAL{N0} " + unitName + " ";
I try to format the Y axis labels in a way that it shows the actual value concatenated with a specific unit name, but the way provided by you in the tutorial give me only rounded values concatenated with the unit name - like in the image attached labelformat.png - and I get on Y axis few times 0 values, few 1 values and not the real values that I need (shown correctly but without unit in labelformatnorounding.png)
What is the correct format string if I don.t want this rounding?
Thank you!
Roxana
Reply
Answer
Ves
Ves
Posted
on Feb 10, 2010
(permalink)
Hello Roxana,
You can use this format:
"#VAL" + unitName + " "
Note that
#VAL is used with no additional formatting.
Regards,
Ves
the Telerik team
Watch a
video
on how to optimize your support resource searches and
check out more tips
on the blogs.
Follow the status of features or bugs in
PITS
and vote for them to affect their priority.
Reply
RoxanaC
Posted
on Feb 10, 2010
(permalink)
Right! I should have tried it!
Thank you!
Reply
Muhammad
Posted
on Mar 24, 2011
(permalink)
Hi,
Can i have labels of Y-axis displayed in the center of graph. Right now Y axis on the left side and X xis labels on the bottom. I want both to be displayed i the middle of graph.
Reply
Yavor
Yavor
Posted
on Mar 29, 2011
(permalink)
Hi Muhammad,
Presently, the requested functionality is not available out of the box. The labels are positioned along the x and y axis, and there is no straightforward option to reposition them along the middle of the graph.
Regards,
Yavor
the Telerik team
Reply