Opened 18 months ago

#19029 new defect

dojox.charting.widget.Chart fails to load series in declarative examples (including tests)

Reported by: petr.tuma Owned by:
Priority: undecided Milestone: tbd
Component: Charting Version: 1.12.2
Keywords: Cc:
Blocked By: Blocking:

Description

Declarative charting examples such as those in dojox/charting/tests/test_widget2d.html (and also some examples in the tutorial) fail with "TypeError?: series.kwArgs is undefined".

The following is a minimum example that works in Dojo 1.10.x but fails with any version in the 1.11 and 1.12 series:

<!DOCTYPE html> <html> <head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <script src="ajax.googleapis.com/ajax/libs/dojo/1.12.2/dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script> <script type="text/javascript">

require (['dojo/parser','dojox/charting/plot2d/Pie','dojox/charting/themes/Claro']);

</script>

</head> <body class="claro">

<div dojoType="dojox/charting/widget/Chart">

<div class="plot" name="default" type="Pie"></div> <div class="series" name="data" data="1,2,3,4,5"></div>

</div>

</body>

Change History (0)

Note: See TracTickets for help on using tickets.