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

Radchart Silverlight AxisY values not showing clearly.

3 Answers 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jagan
Top achievements
Rank 1
jagan asked on 27 Mar 2013, 02:43 PM
Hi Team,

I am having a problem in showing data in radchart silverlight. The y value points are not shown in Radchart after binding. Please see attached file. If the y values are low then it is not showing properly in radchart. And also I would like to know whether radchart silverlight will work in mobile devices. Please reply.

3 Answers, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 01 Apr 2013, 08:46 AM
Hi Jagan,

Thanks for contacting us.

The reason why the values you pointed out aren't displayed is because they are too small compared to the greatest of these which is upwards of 10 million. If you look at the chart's vertical axis, you will see that the difference between two minor ticks is approximately 200 000. Therefore, the chart will calculate the height of a value as small as 30 694 - or even smaller - to be less than a pixel. Hence, the bar won't be rendered. For situations like this one, you can use a logarithmic axis. RadChart's documentation and its online demos both offer a section on this feature here and here respectively.

All the best,
Petar Kirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
jagan
Top achievements
Rank 1
answered on 01 Apr 2013, 11:47 AM
Hi,
After giving the line   radChart.DefaultView.ChartArea.AxisY.IsLogarithmic = true; Im getting the yaxis value in reversed form. But I want to show the value as normal like other values. That is I want to show the values of yaxis from 0. Please see attached file.
0
Petar Kirov
Telerik team
answered on 04 Apr 2013, 12:32 PM
Hi Jagan,

The result you are observing is actually correct because logarithm of number between 1 and 0 is negative (log(0) is undefined). The logarithmic axis is usually helpful when the values displayed are disparate like in your scenario, however fractional values like 0.62 look strange.

Another thing you can try is multiple Y axes (not logarithmic). One of the axis can be used to display the large values (e.g millions) and the other can be used for small values (such as 0.62). You can find an example of that here.

I hope this helps.
 
Regards,
Petar Kirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
jagan
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
jagan
Top achievements
Rank 1
Share this question
or