Highcharts-1-入门介绍
从本篇文章开始要写一个新的可视化库的系列文章:Highcharts
。对这个库来自官网的赞美:
Make your data come alive
Highcharts makes it easy for developers to set up interactive charts in their web pages

到底多强
目前Highcharts已经在很多的大型互联网公司受到重用:脸谱、雅虎、阿里等。一句话概括:🐂🍺
Used by tens of thousands of developers and over 80% out of the world's 100 largest companies. Highcharts is the simplest yet most flexible charting API on the market.

4大强项
Highcharts
方便快捷的纯JavaScript 交互性图表;Highcharts是目前市面上最简单灵活的图表库

Highcharts Stock
方便快捷地创建股票图、大数据量的时间轴图表。
Highstock 是用纯 JavaScript 编写的股票图表控件,可以用来开发股票走势图及大数据量时间轴图表。

Highcharts Maps
非常优秀的HTML5地图组件,支持下钻、触摸、手势等操作。
Highmaps 继承了 Highcharts 简单易用的特性。利用它可以方便快捷的创建用于展示销售、选举结果等其他与地理位置关系密切的交互地图图表。

Highcharts Gantt
最简单好用的JavaScript 甘特图库。
方便易用的交互式甘特图,可以用于展示时间分配、任务调度、事件及资源使用情况。

Highcharts特点
- 非商用免费
- HTML5支持,只需要两个JS文件
- 开源:源码基于GitHub托管
- 图表丰富:线图、柱形图、饼图、热力图、K线、分时图等
- 兼容性强:兼容IE6+,同时完美支持移动端触摸操作、手势缩放等
- 动态交互性:支持动态增加、修改、删除数据列、数据点、坐标轴等
安装
官网Download

使用CDN
<script src="https://code.highcharts.com/highcharts.src.js"></script>
使用npm
npm install highcharts --save
Python中使用python-highcharts
Use the excellent highcharts/highstock library in Python or even in an IPython notebook as an interactive alternative to maplotlib.
python-highcharts supports Python 2.7/3.4+ and is available on PyPI. To install:
pip install python-highcharts
pip install charts

学习资料
扩展资源:https://www.highcharts.com.cn/implementation
中文文档实例:https://www.highcharts.com.cn/demo/highcharts
使用教程:https://www.highcharts.com.cn/docs
系列软件介绍:https://www.highcharts.com.cn/docs/start-introduction
python-highcharts:https://github.com/kyper-data/python-highcharts
网友评论