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

Axis are showing exponential values

1 Answer 75 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Ritesh
Top achievements
Rank 1
Ritesh asked on 07 Dec 2012, 01:22 PM
Hi,

I am creating a Cartesian chart, below is the code for the Axis :

<telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis MajorStep="20000000" Maximum="120000000" />
</telerik:RadCartesianChart.VerticalAxis>

In the UI, it is showing exponential values, instead of integer values. Kindly, provide a solution for the showing the integer values.

Also, the Axis block created are square shaped, but i wish to create them as rectangle. Is this possible, using this control.

Regards,
Ritesh

1 Answer, 1 is accepted

Sort by
0
Accepted
Missing User
answered on 11 Dec 2012, 05:19 PM
Hi Ritesh,

To modify the way labels are displayed, add the following format specifier when setting the LinearAxis' properties:
<telerik:LinearAxis MajorStep="20000000" Maximum="120000000" LabelFormat="#"/>

As for the second part of your question, I'd like to ask you to provide a sample screenshot or some kind of a mock-up of what you're trying to achieve, so that I can help you further.

Greetings,
Ivan N.
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ChartView
Asked by
Ritesh
Top achievements
Rank 1
Answers by
Missing User
Share this question
or