Skip to content

Commit

Permalink
add color axis output Format like other axes types
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed May 30, 2014
1 parent 42ebeba commit 87c6232
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inst/libraries/dimple/layouts/chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
var c = null;
if(d3.keys(opts.colorAxis).length > 0) {
c = myChart[opts.colorAxis.type](opts.colorAxis.colorSeries,opts.colorAxis.palette) ;
if(opts.colorAxis.outputFormat){
c.tickFormat = opts.colorAxis.outputFormat;
}
}

//allow manipulation of default colors to use with dimple
Expand Down

0 comments on commit 87c6232

Please sign in to comment.