feat(图表): 柱条图支持缩略轴

This commit is contained in:
jianneng-fit2cloud
2025-09-18 13:57:54 +08:00
parent 29c2a7b854
commit 8a6d9f590e
7 changed files with 15 additions and 8 deletions

View File

@@ -119,7 +119,8 @@ export class GroupBar extends StackBar {
this.configXAxis,
this.configYAxis,
this.configAnalyse,
this.configBarConditions
this.configBarConditions,
this.configSlider
)(chart, options, {}, this)
}

View File

@@ -139,7 +139,8 @@ export class GroupStackBar extends StackBar {
this.configXAxis,
this.configYAxis,
this.configAnalyse,
this.configBarConditions
this.configBarConditions,
this.configSlider
)(chart, options, {}, this)
}

View File

@@ -222,7 +222,8 @@ export class HorizontalBar extends Bar {
this.configXAxis,
this.configYAxis,
this.configAnalyse,
this.configBarConditions
this.configBarConditions,
this.configSlider
)(chart, options, {}, this)
}

View File

@@ -152,7 +152,8 @@ export class PercentageStackBar extends GroupStackBar {
this.configXAxis,
this.configYAxis,
this.configAnalyse,
this.configBarConditions
this.configBarConditions,
this.configSlider
)(chart, options, {}, this)
}

View File

@@ -13,7 +13,7 @@ import { isEmpty } from 'lodash-es'
import { HorizontalStackBar } from '@/views/chart/components/js/panel/charts/g2/bar/stack-horizontal-bar'
/**
* 百分比堆叠柱状
* 百分比条形
*/
export class PercentageStackBar extends HorizontalStackBar {
propertyInner = {
@@ -140,7 +140,8 @@ export class PercentageStackBar extends HorizontalStackBar {
this.configLegend,
this.configXAxis,
this.configYAxis,
this.configAnalyse
this.configAnalyse,
this.configSlider
)(chart, options, {}, this)
}

View File

@@ -222,7 +222,8 @@ export class StackBar extends Bar {
this.configLegend,
this.configXAxis,
this.configYAxis,
this.configAnalyse
this.configAnalyse,
this.configSlider
)(chart, options, {}, this)
}

View File

@@ -132,7 +132,8 @@ export class HorizontalStackBar extends HorizontalBar {
this.configLegend,
this.configXAxis,
this.configYAxis,
this.configAnalyse
this.configAnalyse,
this.configSlider
)(chart, options, {}, this)
}