Skip to content

Commit

Permalink
fix 修复立体柱状图设置颜色不生效 review by luox
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao authored and luoxiao-supermap committed Nov 23, 2023
1 parent b805010 commit 8a69413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/chart/ChartMixin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ export default {
return (params, api) => {
seriesSpace = !parallelShow ? 0 : seriesSpace;
const location = api.coord([api.value(0), api.value(1)]);
let fillColor = (!colorIndex && defaultColor) ? defaultColor : colorGroup[colorIndex];
let fillColor = defaultColor || colorGroup[colorIndex];
if (_this.highlightOptions && _this.highlightOptions.length > 0) {
const matchData = _this.highlightOptions.find(
item => item.seriesIndex.includes(params.seriesIndex) && item.dataIndex === params.dataIndex
Expand Down

0 comments on commit 8a69413

Please sign in to comment.