Plot of Graph

Thread is closed for posting
2 posts, 1 answers
  1. Nitesh Gaba
    Nitesh Gaba avatar
    4 posts
    Member since:
    Apr 2010

    Posted 08 Apr 2010 Link to this post

    How can i start the plot the graph with out leaving any space between axis and plot area.

    Attaching a file for helping you understand



    telerik:RadChart ID="RadChart1" runat="server" Skin="BabyBlue" DefaultType="Line">






    <telerik:ChartSeries Name="Test" Type="Line">






    <telerik:ChartSeriesItem XValue="1" YValue="2"></telerik:ChartSeriesItem>



    <telerik:ChartSeriesItem XValue="3" YValue="4"></telerik:ChartSeriesItem>



    <telerik:ChartSeriesItem XValue="4" YValue="6"></telerik:ChartSeriesItem>



    <telerik:ChartSeriesItem XValue="7" YValue="7"></telerik:ChartSeriesItem>
















    <XAxis IsZeroBased="false" AutoScale="true">






    <YAxis IsZeroBased="false" AutoScale="true">










    Hope you guys can understand from attached image what i am trying to achive..


  2. Answer
    Giuseppe avatar
    2363 posts

    Posted 09 Apr 2010 Link to this post

    Hi Nitesh Gaba,

    You need to set the XAxis.LayoutMode property to "Normal":

    <telerik:RadChart ID="RadChart1" runat="server">
            <telerik:ChartSeries Type="Line">
                    <telerik:ChartSeriesItem YValue="0" />
                    <telerik:ChartSeriesItem YValue="11" />
                    <telerik:ChartSeriesItem YValue="70" />
                    <telerik:ChartSeriesItem YValue="90" />
                    <telerik:ChartSeriesItem YValue="50" />
                    <telerik:ChartSeriesItem YValue="31" />
                    <telerik:ChartSeriesItem YValue="100" />
            <XAxis LayoutMode="Normal" />

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top