You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2019/12/25 06:08:12 UTC

[incubator-echarts-doc] branch release updated: Add examples in minorTicks doc

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

shenyi pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git


The following commit(s) were added to refs/heads/release by this push:
     new 06361ae  Add examples in minorTicks doc
06361ae is described below

commit 06361aee759b32213aed24a91cc70564f6aab73d
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Dec 25 14:08:00 2019 +0800

    Add examples in minorTicks doc
---
 en/option/component/axis-common.md | 8 ++++++++
 src/style/mixin.scss               | 1 +
 zh/option/component/axis-common.md | 8 ++++++++
 3 files changed, 17 insertions(+)

diff --git a/en/option/component/axis-common.md b/en/option/component/axis-common.md
index 22b64d1..0832c29 100644
--- a/en/option/component/axis-common.md
+++ b/en/option/component/axis-common.md
@@ -184,6 +184,14 @@ Settings related minor ticks.
 
 Note: `minorTick` is not available in the `cateogry` type axis.
 
+Examples:
+
+1) Using minor ticks in function plotting.
+~[600x350](${galleryViewPath}line-function&edit=1&reset=1)
+
+2) Using minor ticks in log axis.
+~[600x350](${galleryViewPath}line-log&edit=1&reset=1)
+
 ##${prefix} show(boolean) = ${defaultShow|default(false)}
 If show minor ticks.
 
diff --git a/src/style/mixin.scss b/src/style/mixin.scss
index e0b0fc1..6ee0401 100644
--- a/src/style/mixin.scss
+++ b/src/style/mixin.scss
@@ -74,6 +74,7 @@
     }
     ol li {
         list-style: decimal;
+        font-size: 14px;
     }
 
     a {
diff --git a/zh/option/component/axis-common.md b/zh/option/component/axis-common.md
index 6871bad..0db9619 100644
--- a/zh/option/component/axis-common.md
+++ b/zh/option/component/axis-common.md
@@ -168,6 +168,14 @@ textStyle: {
 
 注意:次刻度线无法在类目轴([type](~${componentType}.type): `'category'`)中使用。
 
+示例:
+
+1) 函数绘图中使用次刻度线
+~[600x350](${galleryViewPath}line-function&edit=1&reset=1)
+
+2) 在对数轴中使用次刻度线
+~[600x350](${galleryViewPath}line-log&edit=1&reset=1)
+
 ##${prefix} show(boolean) = ${defaultShow|default(false)}
 是否显示次刻度线。
 


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