feat(图表): typos

This commit is contained in:
jianneng-fit2cloud 2024-12-24 17:58:41 +08:00 committed by jianneng-fit2cloud
parent 0bbfb07ef9
commit 871aada14f
2 changed files with 3 additions and 3 deletions

View File

@ -1608,7 +1608,7 @@ export function configYaxisTitleLengthLimit(chart, plot) {
* @param chart
* @param options
*/
export function handelConditionsStyle(chart: Chart, options: O) {
export function handleConditionsStyle(chart: Chart, options: O) {
const { threshold } = parseJson(chart.senior)
if (!threshold.enable) return options
const conditions = threshold.lineThreshold ?? []

View File

@ -12,7 +12,7 @@ import {
getXAxis,
getYAxis,
getConditions,
handelConditionsStyle
handleConditionsStyle
} from '@/views/chart/components/js/panel/common/common_antv'
import {
AntVAbstractChartView,
@ -182,7 +182,7 @@ export abstract class G2PlotChartView<
}
protected configBarConditions(chart: Chart, options: O) {
return handelConditionsStyle(chart, options)
return handleConditionsStyle(chart, options)
}
/**