jQWidgets Forums
jQuery UI Widgets › Forums › Chart › Pie chart error when click on the chart
Tagged: pie chart javascript error click
This topic contains 5 replies, has 3 voices, and was last updated by onefortypoint6 12 years, 3 months ago.
-
Author
-
Unhandled exception at line 7, column 283984 in http://localhost:1102/jqwidgets/jqx-all.js
0x800a01b6 – JavaScript runtime error: Object doesn’t support property or method ‘indexOf’
Here is the jqx-all.js where it is crashing:
function(){if(this.className.indexOf(“jqx-calendar”)!=-1){d=true;return false}strange, any ideas? I have tried to display the chart with and without a click function, but am able to click on the chart no matter what my settings are.
The chart displays data fine
Thanks Peter
var settings = { title: "", description: "", enableAnimations: true, showLegend: true, titlePadding: { left: 0, top: 0, right: 0, bottom: 0 }, source: dataAdapterChart, colorScheme: 'myScheme', seriesGroups: [ { type: 'pie', showLabels: true, formatFunction: function (value) { if (value == " 0\r" || value == " 0") { return ''; } return value; }, series: [ { minValue: 1, dataField: 'Count', displayText: 'Status', labelRadius: 85, initialAngle: 15, radius: 70, centerOffset: 0 } ] } ] }; // setup the chart $('#jqxChart').jqxChart(settings);
Hi onefortypoint6,
Thanks for the feedback. I will create a work item about the reported issue and we will fix it for the next release. I guess the problem comes from jqxDateTimeInput.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI am having a similar issue. I have 2 jqxdatetimeinput items on a page with a jqxchart. When I click on the chart I receive the same error indicated in the original post, the issue goes away when I remove the datetimeinputs.
Any update on a work around or a fix for this issue?
Regards,
Dennis
Hi Dennis,
Do you use the latest version – jQWidgets 2.8.1? It was released several hours ago.
Best Regards,
Peter StoevThank you Peter. This issue appears resolved in the latest release.
Regards,
Dennis
Thanks for the great work Peter and team
-
AuthorPosts
You must be logged in to reply to this topic.