telerik html chart ScatterLineSeries not support DataFieldX DataFieldY

2 posts, 0 answers
  1. hossein
    hossein avatar
    1 posts
    Member since:
    Dec 2010

    Posted 12 Apr 2014 Link to this post

    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>





  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 15 Apr 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top