dojox.charting.Theme.next
dojo.require("dojox.charting.Theme");
defined in dojox/charting/Theme.js
get either the next color or the next marker, depending on what was passed. If type is not passed, it assumes color.
Usage
function (/*String?*/ type) (view source)
parameter | type | description |
---|---|---|
type | String | Optional. Optional. One of either "color" or "marker". Defaults to "color". |
Examples
Example 1
var color = myTheme.next();
var color = myTheme.next("color");
var marker = myTheme.next("marker");