Skip to content

Commit

Permalink
feat(axis): add startValue option (apache/echarts#17078)
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Jun 21, 2024
1 parent 918732a commit 670e4a2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions en/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,17 @@ This is unavailable for category axis. Timestamp should be passed for [type](~${

Base of logarithm, which is valid only for numeric axes with [type](~${componentType}.type): 'log'.

#${prefix} startValue(number)

<ExampleUIControlNumber />

Specify the start value of the axis. Only works for the [bar](~series-bar) series with [value axis](~${componentType}.type) or [log axis](~${componentType}.type).

{{ use: partial-version(
version = '5.5.1'
) }}


{{ use: partial-axis-common-axis-line(
prefix = ${prefix},
componentType = ${componentType}
Expand Down
11 changes: 11 additions & 0 deletions zh/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,17 @@ max: function (value) {

对数轴的底数,只在对数轴中([type](~${componentType}.type): 'log')有效。

#${prefix} startValue(number)

<ExampleUIControlNumber />

用于指定轴的起始值。只对[数值轴](~${componentType}.type)[对数轴](~${componentType}.type)上的 [bar](~series-bar) 系列有效。

{{ use: partial-version(
version = '5.5.1'
) }}


{{ use: partial-axis-common-axis-line(
prefix = ${prefix},
componentType = ${componentType}
Expand Down

0 comments on commit 670e4a2

Please sign in to comment.