Skip to content

Commit

Permalink
docs(histogram): 更新直方图文档
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Mar 3, 2022
1 parent b99b9ad commit 4d89e5a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 90 deletions.
42 changes: 1 addition & 41 deletions docs/manual/plots/histogram.en.md
Expand Up @@ -3,47 +3,7 @@ title: Histogram
order: 8
---

<div class="manual-docs">

<div data-card-type="block" data-lake-card="table" id="pLwYV" class="">
<table class="lake-table" style="width: 100%; outline: none; border-collapse: collapse;">
<colgroup>
<col width="425" span="1">
<col width="340" span="1">
</colgroup>
<tbody>
<tr style="height: 33px;">
<td colspan="1" rowspan="4" style="background:#fff">
<playground path='more-plots/histogram/demo/basic.ts'></playground>
</td>
<td class="style1">
<p><strong>定义</strong></p>
<p><span class="lake-fontsize-12">直方图是一种统计报告图,由一系列高度不等的纵向条纹或线段表示数据分布的情况。</span></p>
</td>
</tr>
<tr style="height: 33px;">
<td class="style1">
<p><strong>视觉通道</strong></p>
<p><span class="lake-fontsize-12">位置</span></p>
</td>
</tr>
<tr style="height: 33px;">
<td colspan="1">
<p><strong>分析目的</strong></p>
<p><span class="lake-fontsize-12">比较、趋势</span></p>
</td>
</tr>
<tr style="height: 33px;">
<td colspan="1">
<p><strong>数据准备</strong></p>
<p><span class="lake-fontsize-12">1 个「时间」或「有序名词」字段</span></p>
<p><span class="lake-fontsize-12">0 ~ 1 个「无序名词」字段</span></p>
<p><span class="lake-fontsize-12">1 个「数值」字段</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<iframe width="100%" height="500" frameborder="0" allowfullscreen style="border:1px solid #d9d9d9;" src="https://www.yuque.com/antv/g2plot/histogram-guide?view=doc_embed">
## Quick start
Expand Down
42 changes: 1 addition & 41 deletions docs/manual/plots/histogram.zh.md
Expand Up @@ -3,47 +3,7 @@ title: 直方图
order: 8
---

<div class="manual-docs">

<div data-card-type="block" data-lake-card="table" id="pLwYV" class="">
<table class="lake-table" style="width: 100%; outline: none; border-collapse: collapse;">
<colgroup>
<col width="425" span="1">
<col width="340" span="1">
</colgroup>
<tbody>
<tr style="height: 33px;">
<td colspan="1" rowspan="4" style="background:#fff;padding:0;">
<playground path='more-plots/histogram/demo/basic.ts'></playground>
</td>
<td class="style1">
<p><strong>定义</strong></p>
<p><span class="lake-fontsize-12">直方图是一种统计报告图,由一系列高度不等的纵向条纹或线段表示数据分布的情况。</span></p>
</td>
</tr>
<tr style="height: 33px;">
<td class="style1">
<p><strong>视觉通道</strong></p>
<p><span class="lake-fontsize-12">位置</span></p>
</td>
</tr>
<tr style="height: 33px;">
<td colspan="1">
<p><strong>分析目的</strong></p>
<p><span class="lake-fontsize-12">比较、趋势</span></p>
</td>
</tr>
<tr style="height: 33px;">
<td colspan="1">
<p><strong>数据准备</strong></p>
<p><span class="lake-fontsize-12">1 个「时间」或「有序名词」字段</span></p>
<p><span class="lake-fontsize-12">0 ~ 1 个「无序名词」字段</span></p>
<p><span class="lake-fontsize-12">1 个「数值」字段</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<iframe width="100%" height="500" frameborder="0" allowfullscreen style="border:1px solid #d9d9d9;" src="https://www.yuque.com/antv/g2plot/histogram-guide?view=doc_embed">
## 快速上手
Expand Down
4 changes: 1 addition & 3 deletions examples/more-plots/histogram/design.en.md
Expand Up @@ -2,6 +2,4 @@
title: 设计规范
---

设计规范

-[直方图设计](https://antv.antfin.com/zh-cn/vis/chart/histogram.html#_%E7%9B%B4%E6%96%B9%E5%9B%BE%E7%9A%84%E7%AE%80%E4%BB%8B)
`markdown:docs/manual/plots/histogram.en.md`
4 changes: 1 addition & 3 deletions examples/more-plots/histogram/design.zh.md
Expand Up @@ -2,6 +2,4 @@
title: 设计规范
---

设计规范

-[直方图设计](https://antv.antfin.com/zh-cn/vis/chart/histogram.html#_%E7%9B%B4%E6%96%B9%E5%9B%BE%E7%9A%84%E7%AE%80%E4%BB%8B)
`markdown:docs/manual/plots/histogram.zh.md`
4 changes: 2 additions & 2 deletions gatsby-config.js
Expand Up @@ -313,8 +313,8 @@ module.exports = {
indexName: 'antv_g2plot',
},
announcement: {
zh: "AntV G2 / G2Plot 2021 品牌日:[潜心深造 · 统计图表](https://www.yuque.com/antv/blog/2021g2)",
en: "AntV G2 / G2Plot 2021 品牌日:[潜心深造 · 统计图表](https://www.yuque.com/antv/blog/2021g2)",
zh: '',
en: '',
}
},
};

0 comments on commit 4d89e5a

Please sign in to comment.