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

RadChart Range

3 Answers 17 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Santhosh
Top achievements
Rank 1
Santhosh asked on 08 Apr 2014, 01:02 PM
Hi

    x axis values are overlapping in my chart,My values will be come simultaneously Once max value will be 50 another time it will be 5000
    Its difficult to set range in chart Is there any solution for this


Thanks,
Santhosh

3 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 11 Apr 2014, 06:58 AM
Hi Santhosh,

You can control the step through which labels will be plot through the XAxis.LabelStep property. For example:
ASPX:
<telerik:RadChart ID="RadChart1" runat="server" Height="400px" Width="600px">
    <Series>
        <telerik:ChartSeries Type="Line" Name="Series 1" DataXColumn="xValues" DataYColumn="yValues">
        </telerik:ChartSeries>
    </Series>
    <PlotArea>
        <XAxis LabelStep="2">
        </XAxis>
    </PlotArea>
</telerik:RadChart>
C#:
protected void Page_Load(object sender, EventArgs e)
{
    DataTable dt = new DataTable();
    dt.Columns.Add("id");
    dt.Columns.Add("xValues");
    dt.Columns.Add("yValues");
    for (int i = 0; i < 30; i++)
    {
        dt.Rows.Add(i, i, i);
    }
    RadChart1.DataSource = dt;
    RadChart1.DataBind();
}




Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Santhosh
Top achievements
Rank 1
answered on 16 Apr 2014, 02:27 PM
Hi,

In Rad Chart PointMark MainColor should same as line series color How to specify it.

Thanks
Santhosh
0
Shinu
Top achievements
Rank 2
answered on 17 Apr 2014, 11:00 AM
Hi Santhosh,

Please have a look into this forum thread which discuss about the same scenario.

Thanks,
Shinu.
Tags
Ajax
Asked by
Santhosh
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Santhosh
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or