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

How Do I extend the Displayable Area for YAxis Data in a graph ?

3 Answers 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Norsten
Top achievements
Rank 1
Norsten asked on 17 Oct 2013, 01:17 AM

How do I extend the displayable area for Yaxis data in a graph?



I've seen reference to the chart object now being obsolete, so I've used graphs within my report.

However I need to extend the YAxis -and was hoping there was a property that I could set to something like...



myGraph.PlotArea.YAxisMode =
ChartYAxisMode.Extended





how can this be done ?





3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 21 Oct 2013, 01:01 PM
Hi Norsten,

You can set the axis Scale.Minimum and Scale.Maximum properties to define the visible range. Other approaches include adding series having greater value and hiding the series from the plot area and the legend using the data point and legend item Style objects.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Julius
Top achievements
Rank 1
answered on 29 Oct 2013, 07:37 AM
Hi Stef,

Can you provide a code snippet on how to set the Scale.Maximum for a stacked column graph? And can you state the reason why a very useful property of the Chart such as this is not implemented in the Graph control?

Thanks
0
Stef
Telerik team
answered on 31 Oct 2013, 06:28 PM
Hi Julius,

We consider providing control over the Scale properties via expressions, which is better than automatically extending the axis. For now please use static values, or create the Graph item programmatically, which will allow you to set the Scale.Maximum as needed after analyzing the data.

You can take for an example the attached sample report definition, based on the How to: Create Chart Programmatically help article.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Norsten
Top achievements
Rank 1
Answers by
Stef
Telerik team
Julius
Top achievements
Rank 1
Share this question
or