Ovilia commented on code in PR #483:
URL: https://github.com/apache/echarts-doc/pull/483#discussion_r2494051205
##########
zh/option/component/axis-common.md:
##########
@@ -929,6 +690,64 @@ max: function (value) {
其中 `value` 是一个包含 `min` 和 `max` 的对象,分别表示数据的最大最小值,这个函数可返回坐标轴的最大值,也可返回
`null`/`undefined` 来表示“自动计算最大值”(返回 `null`/`undefined` 从 `v4.8.0` 开始支持)。
+#${prefix} dataMin(number) = null
+
+<ExampleUIControlNumber />
+
+{{ use: partial-version(
+ version = '6.0.1'
+) }}
+
+指定数据最小值,用于扩展坐标轴范围同时保持自动刻度优化。
+
+只在数值轴、对数轴、时间轴中([type](~${componentType}.type): 'value'、'log' 或 'time')有效。
+
+**工作原理:**
+
+`dataMin` 的效果好似在数据中插入了一个虚拟的数据点,但这个点只参与坐标轴范围的计算,不会实际显示在图表中。
Review Comment:
这个表述非常精确!👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]