A powerful, easy-to-use, configurable charting and data visualization library for Unity.
Unity数据可视化图表插件。
中文
A powerful, easy-to-use, configurable charting and data visualization library for Unity. Supporting line, bar, pie, radar, scatter, heatmap, ring, candlestick, polar, liquid and other common chart. Also support 3d pie, 3d bar, 3d pyramid, funnel, gauge, liquid, pictorialbar, gantt, treemap and ther extended chart.
XCharts3.0 Tutorial
XCharts3.0 API
XCharts3.0 FAQ
XCharts3.0 Configurate
XCharts3.0 Changelog
XCharts3.0 Support
- Rich built-in examples and templates, parameter visualization configuration, effect real-time preview, pure code drawing.
- Support line, bar, pie, radar, scatter, heatmaps, gauge, ring, polar, liquid and other common chart.
- Support line graph, curve graph, area graph, step graph and other LineChart.
- Support parallel bar, stack bar, stack percentage bar, zebra bar and other BarChart.
- Support ring, rose and other PieChart.
- Support line-bar chart, scatter-line chart and other combination chart.
- Support solid line, curve, ladder line, dotted line, dash line, dot line, double dot line and other lines.
- Support custom theme, built-in theme switching.
- Support custom chart content drawing, drawing points, line, curve, triangle, quadrilateral, circle, ring, sector, border, arrow and other drawing API.
- Support interactive operations such as data filtering, view zooming and detail display on PC and mobile terminals.
- Support 10,000-level big data rendering.
- Support TextMeshPro.
- Added
Time
axis. - Added
SingleAxis
. - Added multiple coordinate systems:
Grid
,Polar
,Radar
,SingleAxis
. - Added multiple animation methods.
- Added multiple chart interactions.
- Added internationalization support.
- Added
Widgets
. - Added multiple extension charts.
- More robust underlying framework.
- More powerful performance.
- Smaller serialized files.
- Better interactive experience.
- More component support.
- More powerful ability to self-report text.
- More reasonable component adjustments.
- More flexible component insertion and removal.
- More efficient secondary development.
- Richer Demo examples.
Case | XCharts2.0 | XCharts3.0 | Note |
---|---|---|---|
Fps of 2000 data line chart | 20 |
83 |
Performance improvements 3 times |
Vertices of 2000 data line chart | 36.5 k |
6.7 k |
Vertices reduce 4 times |
Prefab size of 2000 data line chart | 11.1 MB |
802 KB |
Serialized file size to reduce 10 times |
Max data of a single line chart | 4.1 k |
19 k |
Single Serie data capacity improvement 4 times |
Num of chart support | 11 |
23 |
More than 1 times as many chart are supported |
For more examples, see XCharts-Demo, You can also go to Online Demo to see the running effect of WebGL
.
- Import
XCharts
unitypackage or source code into the project. - Right-click
Hierarchy
view and chooseXCharts->LineChart
to create a default LineChart. - You can adjust the parameters of each component in
Inspector
and see the real-time effects inGame
view.
See more tutorial: XCharts tutorial: 5 minutes overhand tutorial
-
Is
XCharts
free to use?
A:XCharts
uses theMIT
licence and is free to use. You can also subscribe toVIP
to enjoy more value-added services. -
Does
XCharts
support code to dynamically add and modify data? Does it support getting data fromExcel
or a database?
A: Support code to dynamically add and modify data, but data needs to be parsed or retrieved by itself, and then added toXCharts
by calling the public interface ofXCharts
. -
Does this plugin work on other platforms (e.g. Winform or WPF) besides Unity?
A: It is currently only supported on Unity. Theoretically any version of Unity that supportsUGUI
can runXCharts
.
email: [email protected]