Declined
Last Updated: 21 Mar 2019 05:51 by ADMIN
Eva
Created on: 06 Feb 2018 09:39
Category: HtmlChart
Type: Bug Report
2
MissingValue set to Gap doesn't work in RadHtmlChart with ScatterLineSeries
Hi,

MissingValue set to Gap or Zero doesn't work in RadHtmlChart with ScatterLineSeries.

Interpolation is done instead.

              <telerik:RadHtmlChart runat="server">
                    <PlotArea>
                        <Series>
                            <telerik:ScatterLineSeries Name="Test" DataFieldX="XValue"
                                DataFieldY="YValue" MissingValues="Gap">
                                <SeriesItems>
                                    <telerik:ScatterSeriesItem X="1" Y="8" />
                                    <telerik:ScatterSeriesItem X="2" Y="9" />
                                    <telerik:ScatterSeriesItem X="3" Y="4" />
                                    <telerik:ScatterSeriesItem X="4" Y="6" />
                                    <telerik:ScatterSeriesItem X="5" Y="7" />
                                    <telerik:ScatterSeriesItem X="8" Y="1" />
                                    <telerik:ScatterSeriesItem X="9" Y="5" />
                                    <telerik:ScatterSeriesItem X="10" Y="4" />
                                </SeriesItems>
                            </telerik:ScatterLineSeries>
                        </Series>
                    </PlotArea>
                </telerik:RadHtmlChart>


The workaround described in the following link doesn't work either :
https://feedback.telerik.com/Project/108/Feedback/Details/44399-fix-the-functionality-of-the-missingvalue-property-when-set-to-gap-in-areaserie

Can you please fix this bug ?

Thanks and regards.
1 comment
ADMIN
Marin Bratanov
Posted on: 21 Mar 2019 05:51
Hello Eva,

The provided snippet does not have any null values, and so the screenshot is expected - all data point are connected with their immediate neighbors.

I also tested the following two snippets and I am attaching the expected results of the feature working fine for me.

I advise that you:

  1. compare against the examples below to see how null values work
  2. take a look at the underlying Kendo Chart widget behavior in the following dojo to also see how this works at its lowest level (RadHtmlChart is a server wrapper over the Kendo Chart jQuery widget): https://dojo.telerik.com/@bratanov/aNOJAmEC.
  3. upgrade to the latest version (or, at least, to R3 2018)

if this does not help you resolve the issue, please open a support ticket and send us an example that showcases the problem, because it seems like it is related to something in the particular case rather than to a bug in the control.

one item without values:

<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server">
            <PlotArea>
                <Series>
                    <telerik:ScatterLineSeries MissingValues="Gap">
                        <SeriesItems>
                            <telerik:ScatterSeriesItem X="111" Y="111" />
                            <telerik:ScatterSeriesItem X="135" Y="135" />
                            <telerik:ScatterSeriesItem />
                            <telerik:ScatterSeriesItem X="188" Y="188" />
                            <telerik:ScatterSeriesItem X="222" Y="222" />
                        </SeriesItems>
                    </telerik:ScatterLineSeries>
                </Series>
            </PlotArea>
        </telerik:RadHtmlChart>

one item without values and one item with a missing value:

<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server">
    <PlotArea>
        <Series>
            <telerik:ScatterLineSeries MissingValues="Gap">
                <SeriesItems>
                    <telerik:ScatterSeriesItem X="111" Y="111" />
                    <telerik:ScatterSeriesItem X="135" Y="135" />
                    <telerik:ScatterSeriesItem />
                    <telerik:ScatterSeriesItem X="188" />
                    <telerik:ScatterSeriesItem X="222" Y="222" />
                </SeriesItems>
            </telerik:ScatterLineSeries>
        </Series>
    </PlotArea>
</telerik:RadHtmlChart>


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files: