栏目分类：资料 发布日期：2018-08-03 浏览次数：次
is a free and open-source modern charting library that helps developers to create interactive visualizations for web pages. It is developed to bridge the gap between low-level and high-level chart libraries. www.7zhao.net
But, Why the need for another chart library?
Granted, there are dozens of chart libraries including the commercial ones which have evolved heavily in the last decade. Many of them are simply amazing, but costly to use for a simple dashboard. Many of them are just bloated trying to do everything but fails to do one thing perfectly. ApexCharts attempts to pick good things from these high-level libraries and provide one with a simple approach. It doesn’t try to be a “one size fits all” solution, but rather a proposal to provide in-built common charts which are used on web dashboards. 内容来自www.7zhao.net
So, what problem does ApexCharts solves?
We will compare ApexCharts with existing open-source high-level, declarative chart solutions and not a low-level chart framework (d3.js).
1. Easier zooming, panning & scrolling
Many open-source chart libraries don’t support this highly interactive feature out of the box. Some do provide this as add-on but I haven’t seen a smoother experience in them. ApexCharts places good amount of importance to the zooming/scrolling and allows multiple options to traverse the data in the chart. 去找(www.7zhao.net欢迎您
2. Placing annotations
Informative labels along with lines placed over specific values on y-axis and/or x-axis can be incredibly helpful to interpret charts easily. ApexCharts has finite control over the placements of the annotations including font-size/color/border of the labels and line. 内容来自www.7zhao.net
3. Triggering events on user’s actions to provide additional data in callbacks
The true meaning of interactivity is — combining multiple charts and passing information one to other. This is achieved by triggering events on several actions and returning the new data in the callback functions — the new data then can be used to modify the data of other charts. This way we have unlimited possibilities to create charts based on other charts.
4. Truly responsive
Responsiveness in charts isn’t just resizing the whole chart and make it equal to screen size, but allow to provide multiple configs for different screen sizes. ApexCharts has an intuitive way to override default config with another config based on viewport width. 内容来自www.7zhao.net
5. A way to customize nearly every element
Don’t just limit your charts with plain colors in the primary elements. Give colors, gradients, shadows, patterns, images to your chart components and customize to fit your design needs. You can even customize the SVG element through css as each element is given a unique class name. copyright www.7zhao.net
Utilize sparkLines to indicate trends in data, for example, occasional increments or declines, monetary cycles, or to feature most extreme and least values. www.7zhao.net
Use Heatmaps to represent data through colors and shades. Frequently used with bigger data collections, they are valuable for recognizing patterns and area of focus.
8. Cool Gauges that enhances Dashboards
The tiny gauges are an important part of a dashboard and are useful in displaying single series data. 去找(www.7zhao.net欢迎您
ApexCharts has a dependency on , a battle-tested SVG library. Without re-inventing the wheel in this area, we leverage the full power of SVG.js. All the graphics/drawing work, animations, filtering, etc is lifted by the SVG.js library.
- iOS 相机流人脸识别(二)-关键点检测(face l
- Bridging the gap between low-level and high-level Jav
- Going cloud-native costs more than you think
- Reading Waterfall Charts to Focus on Page Speed
- Why Only Smart People Buy Your Products
- HugeGraph – An open source fast and highly scalable
- iOS端近场围栏检测 ——MultipeerConnectivity