Skip to content

Commit

Permalink
Merging in pull request for pie chart enhancements. refs: #18076
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagetsume authored and jjurkiew-cisco committed Oct 3, 2016
1 parent 8d4249b commit a883725
Show file tree
Hide file tree
Showing 8 changed files with 1,281 additions and 619 deletions.
11 changes: 7 additions & 4 deletions charting/SimpleTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,15 @@ define(["dojo/_base/lang", "dojo/_base/array","dojo/_base/declare","dojo/_base/C
// | markerSymbol: "m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0", // marker symbol
// | markerStroke: {width: 1.5, color: "#333"}, // marker stroke
// | markerOutline: {width: 0.1, color: "#ccc"}, // marker outline
// | markerShadow: null, // no marker shadow
// | }
// | markerShadow: null // no marker shadow
// | },
// | pieInnerRadius: 33
//
// example:
// Defining a new theme is pretty simple:
// | var Grasslands = new SimpleTheme({
// | colors: [ "#70803a", "#dde574", "#788062", "#b1cc5d", "#eff2c2" ]
// | colors: [ "#70803a", "#dde574", "#788062", "#b1cc5d", "#eff2c2" ],
// | pieInnerRadius: 15
// | });
// |
// | myChart.setTheme(Grasslands);
Expand Down Expand Up @@ -206,7 +208,8 @@ define(["dojo/_base/lang", "dojo/_base/array","dojo/_base/declare","dojo/_base/C
markerThemes: this.markerThemes,
// flags
noGradConv: this.noGradConv,
noRadialConv: this.noRadialConv
noRadialConv: this.noRadialConv,
pieInnerRadius: this.pieInnerRadius
});
// copy custom methods
arr.forEach(
Expand Down
Loading

0 comments on commit a883725

Please sign in to comment.