Gantt chart issue

1 posts, 0 answers
  1. Karthik Kantharaj
    Karthik Kantharaj avatar
    101 posts
    Member since:
    Mar 2010

    Posted 01 Sep 2010 Link to this post

    Hi

    I posted two thread but no response
    I have some queries please guide me
    Below is the chart which i wrote
     RadChart2.DataSource=my datasourse (Idatareader data)
    and datas that is coming will be like below

    labeldata    MonthFrom    MonthTo
    label1          1                      3
    label2          2                       2

    In XAxis i added as
    <XAxis DataLabelsColumn="labeldata">
                        </XAxis>   

    In the below code

      <telerik:ChartSeriesItem Name="Name"  YValue="MonthFrom" YValue2="MonthTo"  ></telerik:ChartSeriesItem>
    YValue and  YValue2 is not picking properly
    Though MonthFrom  is having data 1 and 2 but in graph it is displaying from 0 to 3 for label1 and  0 to 2 for label2
    but the right format will be from 1 to 3 for label1 and  2 to 2 for label2

    <telerik:RadChart ID="RadChart2" runat="server" SeriesOrientation="horizontal" Width="1000px" Height="1000px"  >
                 <PlotArea >                
                        <XAxis DataLabelsColumn="labeldata">
                        </XAxis>                    
                    </PlotArea>
                    <Series>                
                        <telerik:ChartSeries Name="Series 1"  Type="Gantt">  
                        <Items>
                        <telerik:ChartSeriesItem Name="Name"  YValue="MonthFrom" YValue2="MonthTo"  ></telerik:ChartSeriesItem>
                        </Items>
                        <Appearance  LabelAppearance-Visible="True"></Appearance>
                        </telerik:ChartSeries>                   
                    </Series>
                            
                        </telerik:RadChart>

    please guide me
    Karthik.K
Back to Top