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

telerik html chart ScatterLineSeries not support DataFieldX DataFieldY

1 Answer 132 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
hossein
Top achievements
Rank 1
hossein asked on 12 Apr 2014, 09:25 AM
i want use htmlchart in my asp.net project i use VS 2012 and i wrote below code
but DataFieldX and DataFieldY not support in my page and when i open page i see Parser Error


<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
</telerik:RadStyleSheetManager>

<TooltipsAppearance BackgroundColor="White" DataFormatString="{1}% in {0} minutes"></TooltipsAppearance>
<LabelsAppearance Visible="false">
</LabelsAppearance>
</telerik:ScatterLineSeries>
<telerik:ScatterLineSeries Name="1.6C" DataFieldX="ChargeTime16C" DataFieldY="ChargeCurrent16C">
<TooltipsAppearance BackgroundColor="White" DataFormatString="{1}% in {0} minutes"></TooltipsAppearance>
<LabelsAppearance Visible="false">
</LabelsAppearance>
</telerik:ScatterLineSeries>
<telerik:ScatterLineSeries Name="3.1C" DataFieldX="ChargeTime31C" DataFieldY="ChargeCurrent31C">
<TooltipsAppearance BackgroundColor="White" DataFormatString="{1}% in {0} minutes"></TooltipsAppearance>
<LabelsAppearance Visible="false">
</LabelsAppearance>
</telerik:ScatterLineSeries>
</Series>
<XAxis>
<LabelsAppearance DataFormatString="{0}m" />
<TitleAppearance Text="Time" />
</XAxis>
<YAxis MaxValue="100">
<LabelsAppearance DataFormatString="{0}%" />
<TitleAppearance Text="Charge" />
</YAxis>
</PlotArea>
<ChartTitle Text="Charge current vs. charge time">
</ChartTitle>
</telerik:RadHtmlChart>
</div>





1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 15 Apr 2014, 02:44 PM
Hi hossein,

If you are not using the latest official version of Telerik UI - 2014.1.403, does upgrading to it resolve the issue?

If the above step, however, is not helpful I can suggest that you try to reproduce the issue with the attached VS example and then tell us what changes you have made, so that I can make an investigation locally.

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.

 
Tags
Chart (HTML5)
Asked by
hossein
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or