RadHTMLChart LineSeries Display Gap

2 posts, 0 answers
  1. Jannis
    Jannis avatar
    9 posts
    Member since:
    May 2013

    Posted 18 Dec 2013 Link to this post


    is it possible that displaying gaps is not working any more for the new release Q3 2013?
    I took the example you provided under
    http://www.telerik.com/help/aspnet-ajax/htmlchart-types-scatterline-chart.html and

    and for me it is not working.
    The gaps are not visible but instead the line is interpolated.
    Always giving me the attached result.

    My Code:
    <asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlace" runat="server">
        <telerik:RadScriptManager ID="TrsmScriptManager" runat="server">
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <telerik:RadHtmlChart runat="server" ID="ScatterLineChart1" Transitions="true">
                    <telerik:ScatterLineSeries Name="0.8C" MissingValues="Gap">
                        <LabelsAppearance DataFormatString="{1}% in {0} minutes" Position="Below" />
                        <MarkersAppearance MarkersType="Circle" />
                            <telerik:ScatterSeriesItem X="10" Y="10" />
                            <telerik:ScatterSeriesItem X="15" Y="20" />
                            <telerik:ScatterSeriesItem />
                            <telerik:ScatterSeriesItem X="32" Y="40" />
                            <telerik:ScatterSeriesItem X="43" Y="50" />
                            <telerik:ScatterSeriesItem X="55" Y="60" />
                            <telerik:ScatterSeriesItem X="60" Y="70" />
                    <telerik:ScatterLineSeries Name="1.6C">
                        <LabelsAppearance DataFormatString="{1}% in {0} minutes" Position="Below" />
                        <MarkersAppearance MarkersType="Square" />
                            <telerik:ScatterSeriesItem X="10" Y="40" />
                            <telerik:ScatterSeriesItem X="17" Y="50" />
                            <telerik:ScatterSeriesItem X="18" Y="70" />
                            <telerik:ScatterSeriesItem X="35" Y="90" />
                            <telerik:ScatterSeriesItem X="47" Y="95" />
                            <telerik:ScatterSeriesItem X="60" Y="100" />
                <XAxis AxisCrossingValue="0" Color="Black" MajorTickType="Outside" MinorTickType="Outside"
                    Reversed="false" MinValue="0" MaxValue="90" Step="10">
                    <LabelsAppearance DataFormatString="{0}m" RotationAngle="0" />
                    <MajorGridLines Color="#EFEFEF" Width="1" />
                    <MinorGridLines Color="#F7F7F7" Width="1" />
                    <TitleAppearance Position="Center" RotationAngle="0" Text="Time" />
                <YAxis AxisCrossingValue="0" Color="Black" MajorTickSize="1" MajorTickType="Outside"
                    MaxValue="100" MinorTickSize="1" MinorTickType="Outside" MinValue="0" Reversed="false"
                    <LabelsAppearance DataFormatString="{0}%" RotationAngle="0" />
                    <MajorGridLines Color="#EFEFEF" Width="1" />
                    <MinorGridLines Color="#F7F7F7" Width="1" />
                    <TitleAppearance Position="Center" RotationAngle="0" Text="Charge" />
            <ChartTitle Text="Charge current vs. charge time">
                <Appearance Position="Bottom" />

    What do i do wrong?
  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 20 Dec 2013 Link to this post


    Currently there is an issue with the MissingValues property of the series when it is set to "Gap". The issue has already been logged in our feedback portal here and you can monitor, comment or raise its priority by voting on it. For the time being you can use the workaround provided in the feedback item.

    Danail Vasilev
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top