更新文档

This commit is contained in:
monitor1394
2024-10-31 23:28:46 +08:00
parent 143a037761
commit d0d25b0221
5 changed files with 22 additions and 13 deletions

View File

@@ -1,3 +1,7 @@
---
sidebar_position: 61
slug: /changelog
---
# Changelog # Changelog
@@ -171,7 +175,7 @@ Highlights:
* Added chart border Settings to support rounded corner charts * Added chart border Settings to support rounded corner charts
* Fixed several issues * Fixed several issues
Extended features: Extension features:
* Added `SankeyChart` Sankey chart * Added `SankeyChart` Sankey chart
* Added `border` Settings for `UITable` * Added `border` Settings for `UITable`
@@ -212,7 +216,7 @@ Highlights:
* Perfect code comments and documentation * Perfect code comments and documentation
* Fixed several issues * Fixed several issues
Extended features: Extension features:
* `UITable` adds the carousel function * `UITable` adds the carousel function
* `UITable` adds data api and callback functions * `UITable` adds data api and callback functions

View File

@@ -1,3 +1,8 @@
---
sidebar_position: 41
slug: /faq
---
# FAQ # FAQ
## FAQ 1: How to adjust the margin between the axis and the background? ## FAQ 1: How to adjust the margin between the axis and the background?

View File

@@ -123,7 +123,7 @@ slug: /faq
## FAQ 30导入或更新XCharts时TMP报错如何处理 ## FAQ 30导入或更新XCharts时TMP报错如何处理
XCharts默认时不开启TMP所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决 XCharts默认时不开启TMP所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式的任意一种解决:
1. 找到`XCharts.Runtime.asmdef``XCharts.Editor.asmdef`,手动加上 `TextMeshPro`的引用 1. 找到`XCharts.Runtime.asmdef``XCharts.Editor.asmdef`,手动加上 `TextMeshPro`的引用
2. 移除`PlayerSetting``Scripting Define Symbols``dUI_TextMeshPro` 2. 移除`PlayerSetting``Scripting Define Symbols``dUI_TextMeshPro`
@@ -136,8 +136,7 @@ XCharts默认时不开启TMP所以asmdef上没有TMP的引用。当本地开
## FAQ 322.x版本升级3.x版本时常见的问题有哪些 ## FAQ 322.x版本升级3.x版本时常见的问题有哪些
1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 1. 出现:`'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'!`的问题时是因为3.x版本时不需要挂载XChartsMgr直接删掉场景上的`_xcharts_`节点即可。
3.x版本时不需要挂载XChartsMgr直接删掉场景上的`_xcharts_`节点即可。
## FAQ 33折线图如何两边不留空白而从0坐标开始显示 ## FAQ 33折线图如何两边不留空白而从0坐标开始显示
@@ -145,7 +144,7 @@ XCharts默认时不开启TMP所以asmdef上没有TMP的引用。当本地开
## FAQ 34如何设置部分Serie不显示Tooltip ## FAQ 34如何设置部分Serie不显示Tooltip
`serie``itemStyle``itemFormatter`设置为`-`可以忽略`tooltip` `serie``itemStyle``itemFormatter`设置为`-`可以忽略`serie``tooltip`
## FAQ 35区域折线图在用半透明颜色时有时候会一条叠加的线 ## FAQ 35区域折线图在用半透明颜色时有时候会一条叠加的线

View File

@@ -1,8 +1,8 @@
<p align="center"> <p align="center">
<h2 align="center">XCharts</h2> <h2 align="center">XCharts</h2>
A powerful, easy-to-use, configurable charting and data visualization library for Unity. <h4 align="center">A powerful, easy-to-use, configurable charting and data visualization library for Unity.</br>
<br/>Unity数据可视化图表插件。<br/> Unity数据可视化图表插件。</h4>
<a href="https://github.com/XCharts-Team/XCharts">中文文档</a> <h4 align="center"><a href="https://github.com/XCharts-Team/XCharts">中文文档</a></h4>
</p> </p>
<p align="center"> <p align="center">
<a href="https://github.com/XCharts-Team/XCharts/blob/master/LICENSE"> <a href="https://github.com/XCharts-Team/XCharts/blob/master/LICENSE">
@@ -40,14 +40,14 @@
## Overview ## Overview
A powerful and easy-to-use data visualization library for Unity. It supports more than ten built-in charts, including line, bar, pie, radar, scatter, heatmap, ring, candlestick, polar, parallel coordinates, as well as extended charts such as 3d pie, 3d bar, 3d pyramid, funnel, gauge, liquid, pictorialbar, gantt, treemap, sankey, line3d and graph chart. A powerful and easy-to-use data visualization library for Unity. It supports more than ten built-in charts, including line, bar, pie, radar, scatter, heatmap, ring, candlestick, polar, parallel coordinates, as well as extension charts such as 3d pie, 3d bar, 3d pyramid, funnel, gauge, liquid, pictorialbar, gantt, treemap, sankey, line3d and graph chart.
## Key Features ## Key Features
- __Pure Code Rendering__: Charts are rendered with pure code, eliminating the need for extra texture or shader resources. - __Pure Code Rendering__: Charts are rendered with pure code, eliminating the need for extra texture or shader resources.
- __Visual Configuration__: Configure parameters visually with real-time preview and support for dynamic configuration and data adjustments at runtime. - __Visual Configuration__: Configure parameters visually with real-time preview and support for dynamic configuration and data adjustments at runtime.
- __High Customizability__: Themes and configuration parameters can be adjusted as needed, with support for custom drawing and callbacks. - __High Customizability__: Themes and configuration parameters can be adjusted as needed, with support for custom drawing and callbacks.
- __Built-in and Extended Charts__: Supports a variety of chart types, including 3D charts and special chart types like gauges and treemaps. - __Built-in and Extension Charts__: Supports a variety of chart types, including 3D charts and special chart types like gauges and treemaps.
- __Multiple Chart Combinations__: Combine multiple charts of the same or different types within a single instance. - __Multiple Chart Combinations__: Combine multiple charts of the same or different types within a single instance.
- __Various Coordinate Systems__: Supports different coordinate systems such as Cartesian, polar, and single axes. - __Various Coordinate Systems__: Supports different coordinate systems such as Cartesian, polar, and single axes.
- __Rich Components__: Includes titles, legends, tooltips, and more. - __Rich Components__: Includes titles, legends, tooltips, and more.

View File

@@ -2,8 +2,9 @@
<p align="center"> <p align="center">
<h2 align="center">XCharts</h2> <h2 align="center">XCharts</h2>
A powerful, easy-to-use, configurable charting and data visualization library for Unity.<br/>Unity数据可视化图表插件。<br/> <h4 align="center">A powerful, easy-to-use, configurable charting and data visualization library for Unity.</br>
<a href="README-en.md">English README</a> Unity数据可视化图表插件。</h4>
<h4 align="center"><a href="README-en.md">English README</a></h4>
</p> </p>
<p align="center"> <p align="center">
<a href="https://github.com/XCharts-Team/XCharts/blob/master/LICENSE"> <a href="https://github.com/XCharts-Team/XCharts/blob/master/LICENSE">