You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2022/10/27 04:34:48 UTC

[echarts] branch master updated: fix(type): add overflow property to AxisLabelBaseOption interface. close #17363

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new 3dd13423f fix(type): add overflow property to AxisLabelBaseOption interface. close #17363
     new 817b84dcf Merge pull request #17808 from breizh24/fix-17363
3dd13423f is described below

commit 3dd13423f59f14e445f0822836711b809469f7c3
Author: Alberico <al...@outlook.it>
AuthorDate: Fri Oct 21 12:04:23 2022 +0200

    fix(type): add overflow property to AxisLabelBaseOption interface. close #17363
    
    Co-authored-by: Giulio Mazzanti <gm...@protonmail.com>
---
 src/coord/axisCommonTypes.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/coord/axisCommonTypes.ts b/src/coord/axisCommonTypes.ts
index e3241cb02..5cf6a8a91 100644
--- a/src/coord/axisCommonTypes.ts
+++ b/src/coord/axisCommonTypes.ts
@@ -22,6 +22,7 @@ import {
     AreaStyleOption, ComponentOption, ColorString,
     AnimationOptionMixin, Dictionary, ScaleDataValue, CommonAxisPointerOption
 } from '../util/types';
+import { TextStyleProps } from 'zrender/src/graphic/Text';
 
 
 export const AXIS_TYPES = {value: 1, category: 1, time: 1, log: 1} as const;
@@ -230,6 +231,7 @@ interface AxisLabelBaseOption extends Omit<TextCommonOption, 'color'> {
     hideOverlap?: boolean;
     // Color can be callback
     color?: ColorString | ((value?: string | number, index?: number) => ColorString)
+    overflow?: TextStyleProps['overflow']
 }
 interface AxisLabelOption<TType extends OptionAxisType> extends AxisLabelBaseOption {
     formatter?: LabelFormatters[TType]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org