Skip to content

Commit

Permalink
chore: update version 0.11.2 => 0.11.3
Browse files Browse the repository at this point in the history
paleface001 committed Dec 5, 2019
1 parent 5ff27ad commit 6cb6278
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions docs/manual/plots/column.en.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
---
title: Column - 基础柱状图
title: Column
order: 3
---

<img src = 'https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*j4gkSL9OhCIAAAAAAAAAAABkARQnAQ' width = '400'>

## 图表故事
## Story

Column chart is used to present the data comparison between categories.

柱状图用于描述分类数据之间的对比,如果我们把时间周期,如周、月、年,也理解为一种分类数据 (time category),那么柱状图也可以用于描述时间周期之间的数值比较。

## 数据类型
## Data

基础柱状图适合的数据类型为一个**分类字段**(类型)和一个**离散字段**(数值)。在下面这个例子中,`type`为分类数据字段,`value`为离散数据字段。

@@ -23,7 +25,7 @@ const data = [

图表绘制时,每一个分类对应一根柱子,映射到 x 轴,而分类数值对应柱子的高度,映射到 y 轴。

## 图表用法
## Usage

- **Dont's**
- 尽量避免在基础柱状图中使用颜色映射。
@@ -35,8 +37,6 @@ const data = [

## API

说明: **required** 标签代表生成图表的必选配置项,**optional** 标签代表生成图表的可选配置项。

### title

**optional**[通用图表配置](../general-config#title)
@@ -130,9 +130,9 @@ const data = [
`visible: boolean`    图形标签是否显示<br />
`position: 'top' | 'middle' | 'bottom'`    图形标签相对于柱形的位置<br />
`formatter: function`  对 label 的显示文本进行格式化。<br />
`offsetX: number` 在 label 位置的基础上再往 x 方向的偏移量。<br />
`offsetY: number` 在 label 位置的基础上再往 y 方向的偏移量。<br/>
`style: object` 配置 label 文本
`offsetX: number` 在 label 位置的基础上再往 x 方向的偏移量。<br />
`offsetY: number` 在 label 位置的基础上再往 y 方向的偏移量。<br/>
`style: object` 配置 label 文本

### events

2 changes: 1 addition & 1 deletion docs/manual/plots/line.en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Line Chart
title: Line
order: 0
---

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g2plot",
"version": "0.11.2",
"version": "0.11.3",
"description": "G2 Plot, a market of plots built with the Grammar of Graphics'",
"author": "https://github.com/orgs/antvis/people",
"main": "lib/index.js",

0 comments on commit 6cb6278

Please sign in to comment.