diff --git a/src/components/charts/IndexBarChart/index.jsx b/src/components/charts/IndexBarChart/index.jsx index 780af3d967..bfde8f10ec 100644 --- a/src/components/charts/IndexBarChart/index.jsx +++ b/src/components/charts/IndexBarChart/index.jsx @@ -96,7 +96,8 @@ class IndexBarChart extends React.Component { countNames: PropTypes.arrayOf( PropTypes.string, ), - xAxisColor: PropTypes.string, + xAxisStyle: PropTypes.object, + barChartStyle: PropTypes.object, }; render() { @@ -110,22 +111,21 @@ class IndexBarChart extends React.Component { const projectNames = topList.map(project => project.code); const barNames = createBarNames(indexChart); let countBar = 0; + const { barChartStyle, xAxisStyle } = this.props; return (