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

OnSeriesClick dataItem bug

1 Answer 61 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
KHP9000
Top achievements
Rank 1
KHP9000 asked on 15 Nov 2017, 08:34 PM

the dataitem did not pass to client side if dataitem is not in X/Y.

 

datasource {"Vendor", "AppName", "Qty", "Date"}

Line chart: Xasix (Date), Yasix(Qty)

<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="100%" Height="400px">
<ClientEvents OnSeriesClick="RadHtmlChart1_OnSeriesClick" />
</telerik:RadHtmlChart>

function RadHtmlChart1_OnSeriesClick(e) {
        alert(e.dataItem['Vendor']); // return undefined
    }

 

 

 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Nov 2017, 03:35 PM
Hi Kelley,

I tried to replicate the problem with version 2017.3.913 but to no avail. Can you please modify the attached project so that it replicates the issue and send it back for examination?

Thank you!

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Chart (HTML5)
Asked by
KHP9000
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or