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

Gantt chart issue

0 Answers 50 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Karthik Kantharaj
Top achievements
Rank 1
Karthik Kantharaj asked on 01 Sep 2010, 03:14 PM
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
Tags
Chart (obsolete as of Q1 2013)
Asked by
Karthik Kantharaj
Top achievements
Rank 1
Share this question
or