Skip to content

Commit

Permalink
Closes-Bug:#1581650
Browse files Browse the repository at this point in the history
Storage donut chart color issue:
In monitor infra config node summary page for read and write donut charts we are passing the colors in chart options
and setting to chartModel which is causing issues in storage donut charts,
now changed such a way colors are passed along with the data and removed in chartOptions.

Change-Id: Ie186eeb29edbb662dffd350abccbd83b1c21a334
  • Loading branch information
vishnuvv committed May 31, 2016
1 parent 588fa05 commit ed61270
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions webroot/js/models/DonutChartModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ define([], function () {
chartModel.pie.growOnHover(growOnHover);
chartModel.legend.rightAlign(chartOptions.legendRightAlign)
.padding(chartOptions.legendPadding);
if (chartOptions.color != null) {
chartModel.color(chartOptions.color);
}
return chartModel;
}
return DonutChartModel;
Expand Down

0 comments on commit ed61270

Please sign in to comment.