Skip to content

Commit dc56bfa

Browse files
committed
Update README
1 parent d254d22 commit dc56bfa

File tree

3 files changed

+28
-21
lines changed

3 files changed

+28
-21
lines changed

CHINESE-README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@ public class AAMoveOverEventMessageModel: NSObject {
270270
public var index: Int?
271271
}
272272
```
273+
274+
监听用户点击事件可实现多种多样的自定义功能. 例如可通过用户点击事件回调来实现**双表联动**, 示例效果如下
275+
276+
![doubleChartsLinkage](https://raw.githubusercontent.com/AAChartModel/Gallery/master/AAChartKit/doubleChartsLinkage.gif)
277+
273278

274279

275280
### 支持通过`JavaScript` 函数来自定义 `AATooltip`视图显示效果
@@ -421,9 +426,7 @@ public var inverted: Bool? //x 轴是否翻转(垂
421426
public var xAxisReversed: Bool? //x 轴翻转
422427
public var yAxisReversed: Bool? //y 轴翻转
423428
public var polar: Bool? //是否极化图形(变为雷达图)
424-
public var marginLeft: Float? //图表左边距
425-
public var marginRight: Float? //图表右边距
426-
public var marginBottom: Float? //图表底部边距
429+
public var margin: [Float]? //图表外边缘和绘图区域之间的边距. 数组中的数字分别表示顶部,右侧,底部和左侧
427430
public var dataLabelsEnabled: Bool? //数据标签是否显示
428431
public var dataLabelsFontColor: String? //数据标签的字体颜色
429432
public var dataLabelsFontSize: Float? //数据标签的字体大小
@@ -534,10 +537,10 @@ Java | AAChartCore | Android | https://github.com/AAChartModel/AAChartCore |
534537
- [x] 支持渲染极地图
535538
- [x] 支持渲染折线直方图
536539
- [x] 支持渲染折线直方填充图
537-
- [ ] 支持渲染矩形树状层级关系图
538-
- [ ] 支持渲染活动刻度仪表图
539-
- [ ] 支持为图形添加点击事件回调
540-
- [ ] 支持图形实时刷新纯数据并动态滚动
540+
- [x] 支持渲染矩形树状层级关系图
541+
- [x] 支持渲染活动刻度仪表图
542+
- [x] 支持为图形添加点击事件回调
543+
- [x] 支持图形实时刷新纯数据并动态滚动
541544
- [ ] 支持已渲染图形生成图片文件
542545
- [ ] 支持生成图片文件保存至系统相册
543546

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@ public class AAMoveOverEventMessageModel: NSObject {
247247
}
248248
```
249249

250+
Monitoring user click events can achieve a variety of custom functions. For example, you can implement **Double Charts Linkage** through user click event callbacks. The example effects are as follows
251+
252+
![doubleChartsLinkage](https://raw.githubusercontent.com/AAChartModel/Gallery/master/AAChartKit/doubleChartsLinkage.gif)
253+
250254

251255
### Support for custom the style of chart `AATooltip` through `JavaScript` function
252256

@@ -465,9 +469,7 @@ public var xAxisReversed: Bool? //Whether to reverse the axis so that th
465469
public var yAxisReversed: Bool? //Whether to reverse the axis so that the highest number is closest to the origin. If the chart is inverted, the x axis is reversed by default. Defaults to false
466470
public var crosshairs: Bool? //Enable or disable the crosshairs
467471
public var polar: Bool? //When true, cartesian charts like line, spline, area and column are transformed into the polar coordinate system. Requires `AAHighchartsMore.js`. Defaults to false
468-
public var marginLeft: Float?
469-
public var marginRight: Float?
470-
public var marginBottom: Float?
472+
public var margin: [Float]?
471473
public var dataLabelsEnabled: Bool? //Enable or disable the data labels. Defaults to false
472474
public var dataLabelsFontColor: String? //The data labels font color
473475
public var dataLabelsFontSize: Float? //The data labels font size
@@ -574,10 +576,10 @@ AAInfographics is available under the MIT license. See the [LICENSE](https://git
574576
- [x] Support rendering the polar chart
575577
- [x] Support rendering the step line chart
576578
- [x] Support rendering the step area chart
577-
- [ ] Support rendering the rectangular tree hierarchy diagrams
578-
- [ ] Support rendering the circular progress bar chart
579-
- [ ] Support adding clicked event callbacks for graphics
580-
- [ ] Support graphics to refresh pure data in real time and scroll dynamically
579+
- [x] Support rendering the rectangular tree hierarchy diagrams
580+
- [x] Support rendering the circular progress bar chart
581+
- [x] Support adding clicked event callbacks for graphics
582+
- [x] Support graphics to refresh pure data in real time and scroll dynamically
581583
- [ ] Support rendered graphics to generate image files
582584
- [ ] Support generating image files saved to the system album
583585

TRADITIONAL-CHINESE-README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@
272272
public var index: Int?
273273
}
274274
```
275+
276+
監聽用戶點擊事件可實現多種多樣的自定義功能. 例如可通過用戶點擊事件回調來實現**雙表聯動**, 示例效果如下
277+
278+
![doubleChartsLinkage](https://raw.githubusercontent.com/AAChartModel/Gallery/master/AAChartKit/doubleChartsLinkage.gif)
275279

276280

277281
### 支持通過`JavaScript` 函數來自定義 `AATooltip`視圖顯示效果
@@ -407,9 +411,7 @@
407411
public var xAxisReversed: Bool? //x 軸翻轉
408412
public var yAxisReversed: Bool? //y 軸翻轉
409413
public var polar: Bool? //是否極化圖形(變為雷達圖)
410-
public var marginLeft: Float? //圖表左邊距
411-
public var marginRight: Float? //圖表右邊距
412-
public var marginBottom: Float? //圖表底部邊距
414+
public var margin: [Float]? //圖表外邊緣和繪圖區域之間的邊. 數組中的數字分別表示頂部,右側,底部和左側
413415
public var dataLabelsEnabled: Bool? //數據標簽是否顯示
414416
public var dataLabelsFontColor: String? //數據標簽的字體顏色
415417
public var dataLabelsFontSize: Float? //數據標簽的字體大小
@@ -520,10 +522,10 @@
520522
- [x] 支持渲染極地圖
521523
- [x] 支持渲染折線直方圖
522524
- [x] 支持渲染折線直方填充圖
523-
- [ ] 支持渲染矩形樹狀層級關系圖
524-
- [ ] 支持渲染活動刻度儀表圖
525-
- [ ] 支持為圖形添加點擊事件回調
526-
- [ ] 支持圖形實時刷新純數據並動態滾動
525+
- [x] 支持渲染矩形樹狀層級關系圖
526+
- [x] 支持渲染活動刻度儀表圖
527+
- [x] 支持為圖形添加點擊事件回調
528+
- [x] 支持圖形實時刷新純數據並動態滾動
527529
- [ ] 支持已渲染圖形生成圖片文件
528530
- [ ] 支持生成圖片文件保存至系統相冊
529531

0 commit comments

Comments
 (0)