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

RadHtmlChart - Line chart graph not coming up

1 Answer 127 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Neetha
Top achievements
Rank 1
Neetha asked on 14 Apr 2014, 08:52 PM
I am having issue with  showing  line chart graph. Here is my code:

 <telerik:RadHtmlChart runat="server" ID="RadHtmlChart1"  >
               <PlotArea>
                    <Series>
                         <telerik:ScatterLineSeries Name="Bookings" DataFieldX="MetricMonth"  DataFieldY="BookingsValue">
                              <TooltipsAppearance DataFormatString="{0}" />
                              <LabelsAppearance Visible="false">
                              </LabelsAppearance>
                         </telerik:ScatterLineSeries>
                         <telerik:ScatterLineSeries Name="Shipments" DataFieldX="MetricMonth"  DataFieldY="ShipmentsValue">
                              <TooltipsAppearance DataFormatString="{0}" />
                              <LabelsAppearance Visible="false">
                              </LabelsAppearance>
                         </telerik:ScatterLineSeries>                      
                    </Series>
                    <XAxis DataLabelsField="MetricMonth" />   
                    <YAxis>                        
                     <LabelsAppearance  DataFormatString="{0}" />   
                    </YAxis>
               </PlotArea>
               <ChartTitle Text="Monthly Performance">
               </ChartTitle>       
    </telerik:RadHtmlChart>

Binding data in code behind. Attached data values and output. Xaxis should show metric month values and yaxis should show Bookings and Shipments value.
Please let me know what i am missing. I have to show to two line graphs  for shipments and bookings with attached data.

1 Answer, 1 is accepted

Sort by
0
Neetha
Top achievements
Rank 1
answered on 14 Apr 2014, 09:15 PM
Got it. Change Scatterlines series to Line series and it worked.
Tags
Chart (Obsolete)
Asked by
Neetha
Top achievements
Rank 1
Answers by
Neetha
Top achievements
Rank 1
Share this question
or