Compare commits

...

368 Commits

Author SHA1 Message Date
monitor1394
546077459f 3.9.0 2023-12-01 21:19:24 +08:00
monitor1394
bdc6c3b289 3.9.0 2023-12-01 21:16:28 +08:00
monitor1394
bbf1dc862c 3.9.0 2023-12-01 20:54:11 +08:00
monitor1394
c841ac4a93 3.9.0 2023-12-01 20:52:57 +08:00
monitor1394
bece2eb564 修复TooltiptitleFormatter设置为{b}后显示不准确的问题 2023-12-01 08:39:27 +08:00
monitor1394
735e36d6e5 增加SerieData可单独添加Label的支持 2023-11-30 22:36:24 +08:00
monitor1394
0a19b2a6cc 修复Tooltip在对数轴时指示不准确的问题 2023-11-28 10:04:15 +08:00
monitor1394
7ea260b986 修复报错 (#293) 2023-11-25 21:57:49 +08:00
monitor1394
cdc182191b 修复ChartUpdateData()接口返回值不准确的问题 2023-11-24 08:36:54 +08:00
monitor1394
45be0748aa 修复Axis的更新数据时效果不顺畅的问题 2023-11-24 08:29:55 +08:00
monitor1394
1f970cbb36 增加AxisAnimation支持动画效果 2023-11-24 08:29:42 +08:00
monitor1394
4aee1b0a92 3.9.0 2023-11-21 08:34:18 +08:00
monitor1394
079d1030ae 完善注释和文档 2023-11-16 13:15:09 +08:00
monitor1394
ddf44a8c1d 取消Legendformatter,用LabelStyle的代替 2023-11-16 08:40:28 +08:00
monitor1394
f94f678661 完善注释和文档 2023-11-16 08:20:26 +08:00
monitor1394
9816c34701 3.8.2 2023-11-14 13:23:32 +08:00
monitor1394
b959b15c71 完善LabelStyleformatter的注释和文档(#291) 2023-11-14 13:18:31 +08:00
monitor1394
c9ac0daed9 修复Documentation部分注释生成文档不完整的问题 (#290) 2023-11-11 23:36:28 +08:00
monitor1394
65684f2952 调整中英文注释的分隔符为|| 2023-11-11 23:32:24 +08:00
monitor1394
509bd97741 修复Legendformatter在数据变更时没有自动刷新的问题 2023-11-11 22:46:08 +08:00
monitor1394
83db4dd951 修复SerieEventDatavalue一直是0的问题 (#287) 2023-11-05 20:09:28 +08:00
monitor1394
a730404935 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285) 2023-11-03 08:25:10 +08:00
monitor1394
f51e5f1859 优化SerieData设置ignoreformatter的忽略问题 2023-11-02 22:37:11 +08:00
monitor1394
e8204fc41e update doc 2023-11-02 08:43:08 +08:00
monitor1394
304726debf 增加MarkLineonTop设置是否显示在最上层 2023-11-01 22:41:47 +08:00
monitor1394
d8ecb94dd9 完善UIComponent 2023-11-01 08:53:18 +08:00
monitor1394
573f9efcaf 修复Pie有0数据时Label的位置异常的问题 2023-10-21 22:08:03 +08:00
monitor1394
985f70c3c9 增加Axis的对数轴支持子刻度 2023-10-21 13:29:50 +08:00
monitor1394
68d5bc36d6 优化Log对数轴 2023-10-19 23:06:26 +08:00
monitor1394
6b931497ab 修复Pie设置玫瑰图时引导线异常的问题 2023-10-19 22:51:22 +08:00
monitor1394
4bbedc8ef6 update doc 2023-10-17 22:16:37 +08:00
monitor1394
7f2de53af9 优化UIComponent 2023-10-17 21:39:57 +08:00
monitor1394
48a4fb470a 增加数据刷新接口SetDataDirty() 2023-10-17 14:51:16 +08:00
monitor1394
c67d3a3a80 3.8.2 2023-10-16 08:15:27 +08:00
monitor1394
6a5026e907 修复Line设置AnimationAlongPath时动画异常的问题 (#281) 2023-10-15 21:04:01 +08:00
monitor1394
38716facba 修复MarkLine指定yValue时对数值轴无效的问题 2023-10-13 08:15:25 +08:00
monitor1394
86f0ae5739 修复MarkLine指定yValue时对数值轴无效的问题 2023-10-12 21:55:16 +08:00
monitor1394
fea5ab34c0 修复SerieshowDataDimension设置无效的问题 2023-10-11 22:21:16 +08:00
monitor1394
789ab008f6 update doc 2023-10-11 08:32:48 +08:00
monitor1394
7f525ebaf0 update LICENSE 2023-10-11 08:32:21 +08:00
monitor1394
4fd7650726 3.8.1 2023-10-02 10:22:10 +08:00
monitor1394
66c01d55b9 修复Bar在水平方向时Label设置为Bottom不生效的问题 2023-09-29 23:52:50 +08:00
monitor1394
54bb49dfa7 3.8.1 2023-09-23 22:25:55 +08:00
monitor1394
c065245e00 增加Line平滑曲线对Dash虚线的支持 2023-09-22 08:34:06 +08:00
monitor1394
51697a54f4 修复Pie无数据时绘制异常的问题 (#278) 2023-09-21 08:11:31 +08:00
monitor1394
00123e0f94 修复Pie无数据时绘制异常的问题 (#279) 2023-09-21 08:10:00 +08:00
monitor1394
8c840404e0 修复Tooltip在类目轴无数据时异常报错的问题 (#279) 2023-09-16 20:57:39 +08:00
monitor1394
c5d7e5369d 修复Pie无数据时绘制异常的问题 2023-09-16 10:04:59 +08:00
monitor1394
8750bbc22a 增加PieradiusGradient可设置半径方向的渐变效果 2023-09-12 22:42:36 +08:00
monitor1394
680b9d5c20 update README.md 2023-09-12 08:03:19 +08:00
monitor1394
23dee8bd44 update support.md 2023-09-09 23:28:27 +08:00
monitor1394
6c1b402d2d 优化LabelLinelineEndXPie中的表现 2023-09-05 23:21:17 +08:00
monitor1394
c6e78f9cb9 修复RingTriggerTooltip()接口无效的问题 2023-09-05 13:34:11 +08:00
monitor1394
7402925512 修复Radar数据全为0时绘制报错的问题 2023-09-05 13:13:44 +08:00
monitor1394
5d5f32b55e 3.8.0 2023-09-03 23:53:00 +08:00
monitor1394
c8cb47da63 增加Example_Test调试用 2023-09-03 22:34:43 +08:00
monitor1394
66d666192a 完善Example01_RandomData 2023-09-03 22:32:45 +08:00
monitor1394
2a815e54db 增加Serie的totalDataIndex 2023-09-03 22:31:00 +08:00
monitor1394
367844a86c 开启部分Serie的MaxCache设置 2023-09-03 21:43:38 +08:00
monitor1394
910b9194ac 修复Scatter散点图渐出动画异常的问题 2023-09-03 11:07:06 +08:00
monitor1394
eb196a237f 优化Animation 2023-09-02 10:43:10 +08:00
monitor1394
71038a9f88 优化RadarCoord可通过AxisName控制label是否显示 2023-09-01 08:04:29 +08:00
monitor1394
a6ba17ee00 增加TooltipAuto自动设置显示类型和触发类型 2023-09-01 08:01:27 +08:00
monitor1394
9deb120446 增加RinggridIndex支持设置指定网格 2023-08-29 22:28:18 +08:00
monitor1394
8df1dbe0fb 增加PieRadargridIndex支持设置指定网格 2023-08-29 22:20:29 +08:00
monitor1394
e4fbe5670f 增加GridLayout网格布局组件 2023-08-29 18:30:11 +08:00
monitor1394
e0f6b8c2dc update FUNDING 2023-08-25 13:29:02 +08:00
monitor1394
32b2137b87 修复MarkLine多个时只显示一个Label的问题 2023-08-25 13:22:24 +08:00
monitor1394
dc46477c15 修复MarkLine在开启Clip后还绘制在坐标系外的问题 2023-08-25 07:39:10 +08:00
monitor1394
d6f1c82a08 更新日志 2023-08-24 08:17:22 +08:00
monitor1394
267cb7472c 优化DataZoom开启时的新增动画表现 2023-08-24 08:13:42 +08:00
monitor1394
6d04cac38b 优化YAxis在数据全为0时默认设置0-1的范围 2023-08-24 07:42:19 +08:00
monitor1394
0331804a85 修复YAxisLabel可能会重复的问题 2023-08-23 22:02:00 +08:00
monitor1394
11eccbc39b 修复Bar隐藏时表现异常的问题 2023-08-22 23:48:57 +08:00
monitor1394
80d596a721 优化Bar的Tooltip表现 2023-08-22 23:43:33 +08:00
monitor1394
637fde799e 更新文档 2023-08-22 23:14:05 +08:00
monitor1394
9a198b35b1 优化Zebra斑马柱图的绘制表现 (#276) 2023-08-22 23:13:10 +08:00
monitor1394
3476c56eb6 修复Scatter动态添加数据时图表不及时刷新的问题 2023-08-22 08:16:12 +08:00
monitor1394
d9e1c1211c update readme 2023-08-21 23:20:33 +08:00
monitor1394
9fab42a9e7 update readme 2023-08-21 23:16:05 +08:00
monitor1394
d69327e301 更新订阅服务 2023-08-19 08:35:08 +08:00
monitor1394
2566641b5f 更新订阅服务 2023-08-19 08:25:20 +08:00
monitor1394
fea083035f 更新订阅服务 2023-08-19 08:18:48 +08:00
monitor1394
938ae62905 增加ChartLabel的IsActiveByScale接口 2023-08-17 19:51:48 +08:00
monitor1394
8eec52939c Merge pull request #274 from Ambitroc/ambitroc
修复Chart在特定情况下销毁时UGUI报错问题
2023-08-17 19:41:58 +08:00
zhengzhipeng
151a2ed01f 修复Chart在特定情况下销毁时UGUI报错问题 2023-08-17 15:05:55 +08:00
monitor1394
3aa6daf97c update doc 2023-08-16 08:23:56 +08:00
monitor1394
c3c6eb5719 Merge pull request #273 from Ambitroc/ambitroc
修复数据在-1到1之间坐标轴显示错误问题
2023-08-15 21:34:21 +08:00
zhengzhipeng
4fde95eab7 修复数据在-1到1之间坐标轴显示错误问题 2023-08-15 11:47:41 +08:00
monitor1394
3d4360a10a remove meta 2023-08-14 22:33:31 +08:00
monitor1394
64187fea3f 更新asmdef 2023-08-14 21:58:30 +08:00
monitor1394
0c187b6ff9 修复XCharts本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272) 2023-08-14 21:57:17 +08:00
monitor1394
71c8bc1499 修复Chart在运行时被删除时会异常报错的问题 (#269) 2023-08-12 22:18:25 +08:00
monitor1394
d0d5c2a101 修复DataZoom开启时可能会导致无法添加数据的问题 2023-08-11 08:41:19 +08:00
monitor1394
95dddd9448 修复SerieData单独添加ItemStyle后设置itemFormatter不生效的问题 2023-08-11 07:41:02 +08:00
monitor1394
9ed80d3b59 优化BarChartTooltipTriggerItem时的表现 2023-08-10 13:19:05 +08:00
monitor1394
01a49de373 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持 2023-08-09 13:27:03 +08:00
monitor1394
2e2ad0a1f2 增加SymbolEmptyTriangleEmptyDiamond的支持 2023-08-09 08:39:44 +08:00
monitor1394
5356e2304c 增加PieLabelLinelineEndX的支持 2023-08-08 13:24:37 +08:00
monitor1394
0d1d2460a0 修复Tooltip不显示的问题 2023-08-08 06:03:54 +08:00
monitor1394
f88ac6b4c4 整理Examples的代码,删除不必要的用例 2023-08-05 09:41:33 +08:00
monitor1394
9d3d8543a5 增加LabelLinelineEndX可设置引导线固定X位置的支持 2023-08-04 08:39:05 +08:00
monitor1394
ea819bfa42 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247) 2023-08-04 08:26:21 +08:00
monitor1394
618fe0fb01 完善ChartonSerieEnteronSerieExitonSerieClick回调 2023-08-03 07:52:20 +08:00
monitor1394
43ba7d47c5 修复BarChartonSerieEnteronSerieExit回调无效的问题 2023-08-02 08:31:58 +08:00
monitor1394
e3e01587ab 增加SymbolPlus加号和Minus减号的支持 2023-08-02 07:23:28 +08:00
monitor1394
f36ca34055 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果 2023-07-31 13:32:53 +08:00
monitor1394
0ffc6d7efe 优化Line的默认配置效果 2023-07-31 07:29:53 +08:00
monitor1394
ec89828c67 增加Serie部分配置修改时的自刷新 2023-07-28 08:39:56 +08:00
monitor1394
18c0d3218d 修复饼图在Inspector上修改相关参数后不刷新的问题 2023-07-28 08:09:31 +08:00
monitor1394
f867ac7efd 增加AnimationHiding隐藏动画 2023-07-28 08:08:49 +08:00
monitor1394
fc7655fd76 增加SerieminRadius可设置最小半径 2023-07-27 07:58:10 +08:00
monitor1394
0c09d40654 完善Pie饼图的交互动画效果 2023-07-27 07:17:37 +08:00
monitor1394
758d578ad2 增加MLValue多样式数值 2023-07-26 08:41:06 +08:00
monitor1394
318b4146a9 增加XLog日志系统 2023-07-26 07:51:59 +08:00
monitor1394
ea4dac65e1 完善Pie饼图的交互动画效果 2023-07-25 13:19:06 +08:00
monitor1394
b27f0ec6ec 完善Pie饼图的交互动画效果 2023-07-19 13:23:57 +08:00
monitor1394
f5e8ba4082 完善Pie饼图的交互动画效果 2023-07-18 13:23:41 +08:00
monitor1394
816e26f517 增加AnimationInteraction交互动画配置支持 2023-07-17 22:15:54 +08:00
monitor1394
58d6d52747 增加AnimationInteraction交互动画配置支持 2023-07-14 08:14:00 +08:00
monitor1394
ccd71710ce 3.8.0 2023-07-12 13:20:54 +08:00
monitor1394
e103c87d10 重构Animation动画系统,增加Addition新增动画支持 2023-07-12 13:18:58 +08:00
monitor1394
e515908f9b 重构Animation动画系统,增加Addition新增动画支持 2023-07-12 08:28:42 +08:00
monitor1394
eca0c6ea46 3.8.0 2023-07-11 23:11:05 +08:00
monitor1394
1229c1bfa2 重构Animation动画系统,增加Addition新增动画支持 2023-07-11 23:05:31 +08:00
monitor1394
f678477c88 增加AnimationAddition动画支持 2023-07-11 13:32:50 +08:00
monitor1394
0adc9e71e5 增加Animation的添加动画支持 2023-07-04 13:07:44 +08:00
monitor1394
bc1596f8d3 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持 2023-07-03 23:10:35 +08:00
monitor1394
4a754c0021 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持 2023-06-30 08:25:14 +08:00
monitor1394
2c382fda00 修复AxisIndicatorLabel的背景颜色可能不正常的问题 2023-06-30 07:55:21 +08:00
monitor1394
45159b186f 修复AxisIndicatorLabel无法自定义color的问题 2023-06-30 07:48:44 +08:00
monitor1394
00274567cf 修复AxisLabelformatterFunction在数值轴时value不对的问题 2023-06-12 08:05:10 +08:00
monitor1394
42c2c91f03 3.7.0 2023-06-09 08:04:14 +08:00
monitor1394
9c26716e7c 3.7.0 2023-06-08 08:18:01 +08:00
monitor1394
c8a5560a67 修复Serie的名字带_线导致Legend无法触发的问题 (#252) 2023-06-07 08:05:57 +08:00
monitor1394
ad707ec14d Merge pull request #260 from svr2kos2/master
修复Serie名中包含下划线时,会导致Legend组件无法点击的问题
2023-06-04 22:28:53 +08:00
monitor1394
b6c0962ff3 更新文档 2023-06-04 21:52:37 +08:00
monitor1394
86e66984d4 增加HelpDoc帮助文档跳转 2023-06-04 21:52:23 +08:00
svr2kos2
04d646ed8c 修复Serie名中包含下划线时,会导致Legend组件无法点击的问题
由于实现方法是index和name使用下划线合并到物体名称中, 之后在接受事件时用下划线分割后获取index和name. 修改限制分割为2部分
2023-05-30 14:16:57 +08:00
monitor1394
0f83a70b54 更新文档 2023-05-30 07:32:24 +08:00
monitor1394
6b6bf9d9da 更新文档 2023-05-28 22:42:49 +08:00
monitor1394
4c1432a535 Line支持Clip 2023-05-20 08:52:02 +08:00
monitor1394
bab788d4cb Line支持Clip 2023-05-11 08:34:04 +08:00
monitor1394
fab683f5e1 增加AxisMinMaxAuto范围类型 2023-05-10 23:29:31 +08:00
monitor1394
29c9f59762 Line支持Clip 2023-05-09 13:25:42 +08:00
monitor1394
c29a22c576 Line支持Clip 2023-05-09 07:17:27 +08:00
monitor1394
5568c2fd76 3.7.0 2023-05-08 23:31:03 +08:00
monitor1394
5c231514a5 Line支持Clip 2023-05-08 23:24:50 +08:00
monitor1394
93abffaaaa DataZoom的minShowNum默认设置为2 2023-05-08 23:23:11 +08:00
monitor1394
a9c801c077 优化AxisMinMax类型范围计算 2023-05-04 23:33:45 +08:00
monitor1394
2d35f77740 修复AxisLabel在数据都是小于1的浮点数时显示Label格式不对的问题 2023-05-04 13:25:29 +08:00
monitor1394
529c784ee2 修复Theme在修改默认主题的参数后运行被重置的问题 2023-05-04 08:14:41 +08:00
monitor1394
fdd686b038 增加Symbol选择Custom类型时的Warning提示 2023-05-04 07:57:04 +08:00
monitor1394
36d629b29a 修复DataZoom在多个图表时可能异常的问题 (#252) 2023-04-15 08:45:27 +08:00
monitor1394
59335786df 修复Tooltip在只有一个数据时可能异常的问题 2023-04-14 20:53:31 +08:00
monitor1394
0af76517e1 增加BaseChartTriggerTooltip()接口尝试触发ToolTip 2023-04-14 13:35:45 +08:00
monitor1394
674d937104 优化RadarCood设置startAngle时文本也跟随调整位置 2023-04-12 22:57:12 +08:00
monitor1394
a038317c6e 增加Radar对通配符{b}的支持 2023-04-12 22:50:05 +08:00
monitor1394
5fe12dcde7 修复动态添加组件时Inspector可能异常的问题 2023-04-11 23:05:10 +08:00
monitor1394
f00eb2147d 修复动态添加组件时Inspector可能异常的问题 2023-04-11 08:00:06 +08:00
monitor1394
76238d7d7e 3.6.0 2023-04-02 09:23:25 +08:00
monitor1394
c53be4b5f9 3.6.0 2023-04-01 23:05:47 +08:00
monitor1394
8b320e9bc9 调整Serie的smoothLimit默认为false 2023-03-31 07:12:42 +08:00
monitor1394
5757049e74 完善Pyramid的Tooltip检测 2023-03-21 08:12:20 +08:00
monitor1394
d196551756 3.6.0 2023-03-20 22:00:02 +08:00
monitor1394
d7223f6790 3.6.0 2023-03-20 21:59:12 +08:00
monitor1394
a50b58d48e 增加UI组件支持 2023-03-20 21:56:56 +08:00
monitor1394
a0db57bdf2 支持数据的循环变更动画 2023-03-20 21:38:58 +08:00
monitor1394
3dfa5487ee 修复TooltiptitleFormater设置{b}可能不生效的问题 2023-03-15 13:04:48 +08:00
monitor1394
bddbe600ce Merge pull request #250 from Ambitroc/master
修复BarChart在数据为0时,Bar背景不绘制问题
2023-03-14 21:37:01 +08:00
Ambitroc
3073926d73 修复BarChart在数据为0时,Bar背景不绘制问题 2023-03-14 13:31:40 +08:00
monitor1394
49e9066334 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转 2023-03-13 07:21:00 +08:00
monitor1394
372ed1de58 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转 2023-03-12 22:57:37 +08:00
monitor1394
dbb867e0ab 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转 2023-03-12 22:56:36 +08:00
monitor1394
adbd88c411 Merge pull request #248 from Ambitroc/master
支持除鼠标以外其他输入方式的Point位置获取,比如VR项目
2023-03-10 11:46:13 +08:00
Ambitroc
99b3d24366 支持除鼠标以外其他输入方式的Point位置获取,比如VR项目 2023-03-10 10:43:47 +08:00
monitor1394
6f69af3945 增加API文档的since 2023-03-09 22:51:09 +08:00
monitor1394
c6e38f2003 增加API文档的since 2023-03-09 22:49:07 +08:00
monitor1394
e0f4ed946d 增加回调API文档 2023-03-09 22:39:05 +08:00
monitor1394
465af108aa 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调 2023-03-09 21:31:26 +08:00
monitor1394
bf152a3a71 增加LegendPositions可自定义图例的位置 2023-03-04 21:09:50 +08:00
monitor1394
64c9b97eb9 修复Animation变更动画可能无效的问题 2023-03-03 22:41:00 +08:00
monitor1394
c42ca0f097 修复Legend点击时SerieLabel不刷新的问题 2023-02-28 13:11:18 +08:00
monitor1394
8c6d013341 增加DataZoomstartEndFunction委托 2023-02-26 22:49:19 +08:00
monitor1394
398fee2d97 修复TMP下报错 2023-02-22 22:08:40 +08:00
monitor1394
33246c2a1f update doc 2023-02-15 21:47:08 +08:00
monitor1394
b102fed9fe update doc 2023-02-14 13:18:39 +08:00
monitor1394
9c069296ed update doc 2023-02-13 07:22:07 +08:00
monitor1394
9f94541b9e 转移inputsystem文档到主站仓库 2023-02-13 07:21:48 +08:00
monitor1394
7a367d24ab 重构ChartHelper.GetOrAddComponent接口 2023-02-13 07:20:50 +08:00
monitor1394
4964bca341 重构Component相关代码,调整API接口 2023-02-12 21:22:53 +08:00
monitor1394
22b167981b update doc 2023-02-10 13:41:37 +08:00
monitor1394
80d9087084 优化Axis的数值Label的默认显示格式 2023-02-10 13:23:38 +08:00
monitor1394
d6630ef5bf update doc 2023-02-08 08:28:21 +08:00
monitor1394
5e3bc3ff15 增加DataZoomstartLockendLock参数支持锁定 2023-02-08 08:22:39 +08:00
monitor1394
3d09d82abd 修复DataZoom开启时X轴Label可能会显示在图表外的问题 2023-02-02 08:31:15 +08:00
monitor1394
22715dab95 优化SerieDataignore设置时的忽略数据判断 2023-02-02 07:58:50 +08:00
monitor1394
ace8537650 修复XChartsMgr.ContainsChart()接口异常 2023-02-01 21:00:37 +08:00
monitor1394
d7c6bf59ef Merge pull request #242 from Bian-Sh/master
增加`InputSystem`支持
2023-01-31 08:12:50 +08:00
边上海
c9cd4ee38a 同步更新部分示例代码对按键的读取逻辑
简化了部分协同程序的使用逻辑
2023-01-30 21:31:40 +08:00
边上海
633456ada0 将 inputsystem 支持功能添加到 xchart 菜单
顺便简化了 tmp 支持相关逻辑
2023-01-30 21:31:40 +08:00
边上海
7fbaf7af70 新增对 InputSystem 的支持
Update BaseGraph.cs

Update XCharts.Runtime.asmdef
2023-01-30 19:15:14 +08:00
monitor1394
e90d7d61d9 修复Inspector上移除Component后图表没有及时刷新的问题 (#241) 2023-01-11 08:12:42 +08:00
monitor1394
bda6fc7978 修复Pie在最后的几个数据都为0时Label显示不正常的问题 (#240) 2023-01-06 22:51:02 +08:00
monitor1394
8288e75445 优化gameObject被Destory后的判断 2023-01-06 08:35:16 +08:00
monitor1394
6ace71f8db 删除SerieMarkColor,增加ItemStyleMarkColor 2023-01-03 21:07:28 +08:00
monitor1394
a4aabb5bbe 3.6.0 2022-12-30 22:30:42 +08:00
monitor1394
d90a0d69b2 增加EditorList+添加编辑功能 2022-12-30 22:13:03 +08:00
monitor1394
c17d83ae6d 修复UpdateXYData()接口影响数据精度的问题 (#238) 2022-12-29 20:57:56 +08:00
monitor1394
317ffc4d99 修复Pie只有一个数据时设置border后显示异常的问题 (#237) 2022-12-28 18:17:56 +08:00
monitor1394
bc6c387db3 调整Covert重命名为Convert 2022-12-22 22:26:10 +08:00
monitor1394
d9053db2e3 修复Covert XY Axis后Y轴的Label显示异常的问题 2022-12-22 22:15:58 +08:00
monitor1394
d7cfda2521 代码优化 2022-12-22 21:51:08 +08:00
monitor1394
a5aa630b74 修复AxisValue轴在某些情况下计算数值范围不准确的问题 2022-12-12 13:41:04 +08:00
monitor1394
ce1691e1ce 优化Legendformatter支持{h}通配符 2022-12-12 13:15:29 +08:00
monitor1394
a3a25fe7c6 修复Legendformatter设置为固定值时显示不正常的问题 2022-12-12 07:29:30 +08:00
monitor1394
d4a3886530 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置 2022-12-08 07:32:33 +08:00
monitor1394
927644fb10 增加Formatter的文本通配符{h}支持设置当前颜色值 2022-12-07 13:19:06 +08:00
monitor1394
d67a922a74 整理和重构代码 2022-12-07 13:16:06 +08:00
monitor1394
84a8e6ca19 v3.5.0 2022-12-01 21:43:46 +08:00
monitor1394
858ad55a35 v3.5.0 2022-12-01 21:29:38 +08:00
monitor1394
bfc4ff39fb v3.5.0 2022-12-01 21:05:56 +08:00
monitor1394
7603d60ea0 publish v3.5.0 2022-12-01 08:35:14 +08:00
monitor1394
8078e1c54f 更新文档 2022-11-30 20:42:12 +08:00
monitor1394
59c9d758e1 增加SeriebarMaxWidth可设置Bar的最大宽度 2022-11-30 09:39:41 +08:00
monitor1394
7ea0fbd66d 优化TooltipShadow绘制不超出图表范围 2022-11-30 09:31:39 +08:00
monitor1394
5f11f7d6e3 修复Tooltip指示的Serie数据项索引异常的问题 2022-11-29 22:38:08 +08:00
monitor1394
5879c99995 优化AxisAxisName的偏移设置 2022-11-28 09:26:52 +08:00
monitor1394
4356111e0c 优化AxisAxisName的偏移设置 2022-11-27 17:40:56 +08:00
monitor1394
f2001fbc82 优化Comment的位置,用Location代替Position 2022-11-27 17:28:37 +08:00
monitor1394
906b6ed4c7 update doc 2022-11-27 16:54:32 +08:00
monitor1394
32f98b6d5a 优化TooltipLineStyle支持设置Shadow时的颜色 2022-11-27 16:54:09 +08:00
monitor1394
b6702be558 优化LabelLinesymbol默认不显示 2022-11-26 12:10:59 +08:00
monitor1394
69db61c7b6 修复LineChartXY都为数值轴时添加无序数据显示异常的问题 2022-11-26 12:02:56 +08:00
monitor1394
da10188c6b 修复DataZoom从右往左框选时异常的问题 2022-11-26 10:40:12 +08:00
monitor1394
5593210cc6 [doc] update doc 2022-11-20 22:25:19 +08:00
monitor1394
8abd486fcd 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235) 2022-11-20 20:24:22 +08:00
monitor1394
051dbb50b1 [doc] update doc 2022-11-20 20:18:20 +08:00
monitor1394
30e6e6908c [doc] update doc 2022-11-19 21:33:46 +08:00
monitor1394
be2e8f14cf [doc] update doc 2022-11-19 21:29:47 +08:00
monitor1394
56f0ff64b9 [doc] update doc 2022-11-19 21:24:08 +08:00
monitor1394
8a7f0c6533 增加PieLabelLine支持Symbol 2022-11-14 21:49:53 +08:00
monitor1394
8c0eb970d3 [feature][datazoom] 增加DataZoomMarqueeStyle支持框选区域 2022-11-12 21:32:08 +08:00
monitor1394
5e234dc408 [feature][datazoom] 增加DataZoomMarqueeStyle支持框选区域 2022-11-12 21:27:52 +08:00
monitor1394
26ef85ce6f [fix][comment] fix null error for comment 2022-11-12 08:19:51 +08:00
monitor1394
6d287f6678 优化Radar在类型为Single时的区域颜色填充效果 2022-11-10 07:12:22 +08:00
monitor1394
15eddd21d5 [doc] update doc 2022-11-06 10:23:28 +08:00
monitor1394
29722998e4 修复TooltipitemFormatter设置通配符{d}后异常的问题 2022-11-04 19:02:55 +08:00
monitor1394
faa5bc7cd8 check null 2022-11-02 07:20:00 +08:00
monitor1394
eb2c3d8560 v3.4.0 2022-11-01 07:21:06 +08:00
monitor1394
0c91f46aeb v3.4.0 2022-11-01 07:03:14 +08:00
monitor1394
7d16cb2017 更新教程 2022-10-30 20:56:18 +08:00
monitor1394
bdb171c4e6 增加API:AddData(),ClearSerieData(),ClearComponentData() 2022-10-30 20:56:05 +08:00
monitor1394
d7ebfb1f41 [feature] 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226) 2022-10-30 10:37:10 +08:00
monitor1394
c9d554d184 [feature] 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226) 2022-10-30 10:28:17 +08:00
monitor1394
e0974fffbe [feature] 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229) 2022-10-29 18:25:20 +08:00
monitor1394
cc63764eef v3.4.0 2022-10-28 07:20:20 +08:00
monitor1394
687fc0d495 update README.md 2022-10-27 07:27:07 +08:00
monitor1394
ce4e88c51c 增加RadarCoordstartAngle可设置Radar起始角度 2022-10-26 08:04:44 +08:00
monitor1394
42a77a9439 [fix] 修复ChartLayout布局下时Label显示不正常的问题 (#231) 2022-10-21 22:56:16 +08:00
monitor1394
bbab8d9b75 修复Unity2019.2上的兼容问题 2022-10-21 12:37:00 +08:00
monitor1394
b1eae7045b [improve][axis] improve max value and division of y axis 2022-10-18 08:33:12 +08:00
monitor1394
a78eed9c5c [fix] fix axis label error when datazoom enable (#227) 2022-10-15 23:00:20 +08:00
monitor1394
a9fefae642 [feature][datazoom] datazoom support value axis 2022-10-14 07:10:04 +08:00
monitor1394
f6ad852a44 [fix][pie] fix pie draw error when set border (#225) 2022-10-13 13:26:25 +08:00
monitor1394
53610b53ca [fix] Fixed Download interface caused the iOS platform to fail to build 2022-10-13 07:52:47 +08:00
monitor1394
e1f20e0796 [feature][animation] add UnscaledTime for animation #223 2022-10-12 08:35:23 +08:00
monitor1394
ab8ced4aed update doc 2022-10-11 07:00:35 +08:00
monitor1394
0662f62cd1 [feature] Add smoothLimit for Line 2022-10-10 07:07:57 +08:00
monitor1394
5ed6ee1d2a [fix] fix tooltip display error when serie is hide 2022-10-05 16:27:40 +08:00
monitor1394
99769da035 [fix] fix divide by zero exception 2022-09-30 16:35:53 +08:00
monitor1394
75bf6e0e6c v3.3.0 2022-09-28 08:20:10 +08:00
monitor1394
aec3e59aca [improve][Axis] improve default split number 2022-09-26 22:15:49 +08:00
monitor1394
1141208407 v3.3.0 2022-09-26 08:38:33 +08:00
monitor1394
a9fe1f53b1 [doc] update doc 2022-09-25 22:41:13 +08:00
monitor1394
7f27325ce1 [refactor]remove warning 2022-09-25 22:40:30 +08:00
monitor1394
4c89bda4b9 [improve][Parallel] improve ParallelChart 2022-09-23 08:38:56 +08:00
monitor1394
bd9a0df52b [feature][API] add SaveAsImage() 2022-09-22 08:37:56 +08:00
monitor1394
eba8986f18 [fix] fix InsertSerie() 2022-09-21 07:18:54 +08:00
monitor1394
95c0bcdb75 [fix] fix InsertSerie() 2022-09-21 07:12:59 +08:00
monitor1394
4b8ca2e5e1 [improve][line] improve line in polar 2022-09-21 06:59:57 +08:00
monitor1394
f0d6316c20 [improve][axis] support showStartLine and showEndLine in AngleAxis and RadiusAxis 2022-09-21 06:59:34 +08:00
monitor1394
ae35a4d7e6 [feature][polar] support heatmap in polar 2022-09-20 13:16:22 +08:00
monitor1394
4e05759c3c [feature][polar] support multiple bar and stack bar in polar 2022-09-19 13:20:34 +08:00
monitor1394
ba9faa8bc6 [feature][polar] support bar and ring polar 2022-09-16 08:03:14 +08:00
monitor1394
afbfa20fd9 [feature][polar] support circular polar 2022-09-14 07:13:45 +08:00
monitor1394
ac7628ce68 [bug] fix editor auto refresh bug 2022-09-09 13:19:22 +08:00
monitor1394
dd6833d322 [feature][ring] support LabelLine 2022-09-08 08:00:13 +08:00
monitor1394
a5e13794e8 [feature][symbol] add minSize and maxSize for SerieSymbol 2022-09-07 07:14:22 +08:00
monitor1394
16d055abc0 [feature][axis] add showStartLine and showEndLine for AxisSplitLine 2022-09-06 22:54:40 +08:00
monitor1394
83744777c5 [feature][heatmap] support symbol 2022-09-06 13:12:50 +08:00
monitor1394
ccc5110e8e [feature][heatmap] support heatmapType 2022-09-06 07:22:04 +08:00
monitor1394
ce702fd1e3 [improve][tooltip] improve tooltip for heatmap 2022-09-05 13:18:00 +08:00
monitor1394
a44eca0f91 [feature][pie] support onPointerEnterPie 2022-09-02 08:33:34 +08:00
monitor1394
8bd0c23e19 [improve][heatmap] improve heatmap chart 2022-09-02 08:12:57 +08:00
monitor1394
061ac49670 [improve][radar]improve radar chart 2022-08-31 22:03:51 +08:00
monitor1394
027f5f260c [bug][datazoom] fix datazoom range error (#221) 2022-08-30 08:04:18 +08:00
monitor1394
5f16685b64 [improve][serie] improve min-max data range 2022-08-29 23:02:03 +08:00
monitor1394
6710a52950 [feature][barchart] bar width 2022-08-29 23:00:54 +08:00
monitor1394
de16bfad01 [bug][candlestick] fix tooltip error 2022-08-29 23:00:11 +08:00
monitor1394
b01c2e4338 [improve][CandlestickChart] improve large data rendering 2022-08-29 21:09:27 +08:00
monitor1394
6ae4468aa2 [bug][line] fix linechart error when stack and custom y range. 2022-08-28 17:34:22 +08:00
monitor1394
48686e865c [feature][legend] add new icon type:candlestick 2022-08-26 23:18:35 +08:00
monitor1394
a885be625e [improve][Candlestick] improve CandlestickChart 2022-08-26 23:17:54 +08:00
monitor1394
a1d8f34720 v3.3.0 2022-08-26 07:52:40 +08:00
monitor1394
b2f1fd00b1 [feature][Tooltip] support position 2022-08-26 07:50:48 +08:00
monitor1394
442a51abc1 [improve][label] improve emphasis label 2022-08-25 21:38:25 +08:00
monitor1394
9552e877ce [feature][formatter] support {d3} 2022-08-25 13:37:36 +08:00
monitor1394
34dd3d1c4e [improve][MarkLine] improve label 2022-08-25 08:37:17 +08:00
monitor1394
9e07fa1db3 v3.2.0 2022-08-16 07:43:22 +08:00
monitor1394
990c6dad90 [API][chart] RemoveAllSerie() 2022-08-15 08:21:28 +08:00
monitor1394
99dc2af42a [optimize] optimize smooth curve 2022-08-15 07:30:56 +08:00
monitor1394
f32808a36d [bug][datazoom] fix chart display error when datazoom enable. 2022-08-13 13:38:02 +08:00
monitor1394
ca5470a351 [feature][tooltip] support ignoreDataDefaultContent 2022-08-11 08:11:43 +08:00
monitor1394
34b132735d [bug] fix chart.RemoveSerie (#219) 2022-08-10 13:19:26 +08:00
monitor1394
0f31f057df [bug] fix rotation 2022-08-10 13:18:44 +08:00
monitor1394
65d32f7aec [improve][editor] improve editor edit 2022-08-10 08:16:19 +08:00
monitor1394
fcc1314f17 [optimize][axis] set chart default layer to UI 2022-08-10 07:22:41 +08:00
monitor1394
9981ce2d23 [optimize][axis] optimize minor split line of time axis 2022-08-09 13:38:23 +08:00
monitor1394
f1f2ea78be [feature][AreaStyle] support innerFill 2022-08-09 08:29:06 +08:00
monitor1394
d1f9c77571 [bug] fix serieData.index error 2022-08-09 08:01:19 +08:00
monitor1394
19914586ae [optimize][serie] optimize index of serieData 2022-08-08 07:43:19 +08:00
monitor1394
e7f19e72a5 update serie label 2022-08-02 13:03:33 +08:00
monitor1394
35220a1026 scheduled release date for v3.2.0 2022-08-02 08:01:22 +08:00
monitor1394
b9812a4f98 [feature][bug] fix import packge error 2022-07-29 13:25:05 +08:00
monitor1394
74b078c926 [feature][axis] support minorTick and minorSplitLine of time axis 2022-07-29 07:49:15 +08:00
monitor1394
44dc1f7b16 [feature][UGL] add UGL.DrawPolyon API 2022-07-28 13:33:38 +08:00
monitor1394
cdf0bc81e1 [feature][serie] support the colorBy of serie 2022-07-28 07:21:46 +08:00
monitor1394
5b2b2d4059 [feature][symbol] support symbol settings for StateStyle 2022-07-27 08:00:57 +08:00
monitor1394
b3b0c0b3aa v3.2.0 2022-07-27 08:00:11 +08:00
monitor1394
4f93628667 [feature][serie] support EmphasisStle,BlurStyle and SelectStyle 2022-07-25 07:46:03 +08:00
monitor1394
8dde322c04 [doc] class doc support since version 2022-07-20 08:15:27 +08:00
monitor1394
47ee421913 [bug][axis] fix showStartLabel and showEndLabel not work 2022-07-20 07:38:18 +08:00
monitor1394
0355e3ed46 [feature][axis] support minor tick and minor split line 2022-07-19 08:22:42 +08:00
monitor1394
eedafa7011 [feature][radar] support smooth line 2022-07-17 20:57:38 +08:00
monitor1394
aee49322b7 [feature][datazoom] support time axis 2022-07-15 08:37:14 +08:00
monitor1394
96a49f2b11 v3.1.0 2022-07-12 07:38:42 +08:00
monitor1394
131aabc76a [bug][line] fix ignoreLineBreak of line serie not work 2022-07-12 07:26:07 +08:00
monitor1394
e42afe8d47 [optimize][axis] support auto float min-max range 2022-07-11 07:04:34 +08:00
monitor1394
69243b7cd0 [optimize][axis] support float when Axis MinMaxType set to MinMax 2022-07-11 07:02:02 +08:00
monitor1394
12757eb4db [doc] update doc 2022-07-07 07:42:53 +08:00
monitor1394
945a69ba70 [doc] update doc 2022-07-07 07:08:02 +08:00
monitor1394
9aa8431432 [bug] fix multipe grid error (#210) 2022-07-05 21:43:09 +08:00
monitor1394
a499002426 [code] add example of test dynamic chart 2022-07-05 08:07:52 +08:00
monitor1394
4d5e2481b0 [feature][axis] support Settings.axisMaxSplitNumber 2022-07-04 13:37:16 +08:00
monitor1394
2248b61d03 [bug][axis] fix axis tick error (#209) 2022-07-04 13:14:23 +08:00
monitor1394
419715bb2a [doc] update doc 2022-07-04 08:32:01 +08:00
monitor1394
f5c2e73098 [code] add comment 2022-07-04 08:30:43 +08:00
monitor1394
197402dcb7 [code] refactor the code 2022-07-03 21:09:49 +08:00
monitor1394
33fd4aa9f3 [feature][axis] support AxisName.onZero (#207) 2022-07-03 10:02:22 +08:00
monitor1394
9b263c883b [bug][pie] fix piechart create error with code (#206) 2022-07-02 23:10:11 +08:00
monitor1394
06574a201a [bug] fix AxisLabel.onZero not work in YAxis 2022-07-02 16:51:45 +08:00
monitor1394
fbdb51d847 [bug] fix axislabel distance error 2022-07-02 16:43:52 +08:00
monitor1394
47c9b99931 [bug] fix chart not being created correctly at runtime 2022-06-30 08:31:09 +08:00
monitor1394
bb9f28dd5c [feature][tooltip] support {c0} for itemFormatter (#205) 2022-06-29 13:33:38 +08:00
monitor1394
0f2f55e436 [optimize][pie] avoid label overlap (#56) 2022-06-28 13:23:32 +08:00
monitor1394
6c9528cf19 [optimize][line]smooth line (#169) 2022-06-26 08:35:59 +08:00
monitor1394
91b9055039 [doc] doc link 2022-06-25 19:41:35 +08:00
monitor1394
564ff2e178 [bug] fix tooltip show data error when datazoom enable (#203) 2022-06-25 19:32:50 +08:00
monitor1394
2a03e71312 [bug] fix tooltip draw error when axis data is empty (#204) 2022-06-25 17:07:26 +08:00
monitor1394
0dbcc4ab2b [optimize][tooltip] serie placeHolder 2022-06-25 16:33:50 +08:00
monitor1394
f19b61f1f2 [doc] add since version 2022-06-25 11:45:22 +08:00
monitor1394
9a1c76c236 [optimize][painter] add upper and top painter layer 2022-06-24 22:17:01 +08:00
monitor1394
7c07499e44 [optimize][legend] support background and padding 2022-06-24 22:15:49 +08:00
monitor1394
8a6253621b [optimize][textstyle] support sprite asset of TextMeshPro (#201) 2022-06-21 08:15:48 +08:00
monitor1394
5bc14dd37a [optimaze][tooltip] content rect limit (#202) 2022-06-20 13:41:28 +08:00
monitor1394
b11e8fcb3a [bug]fix TextMeshPro compile error 2022-06-20 13:05:44 +08:00
monitor1394
df0a87c935 [bug] fix fadeout animation 2022-06-20 08:24:00 +08:00
445 changed files with 27248 additions and 13879 deletions

2
.github/FUNDING.yml vendored
View File

@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: ['https://www.paypal.me/monitor1394','https://github.com/XCharts-Team/XCharts/blob/master/Documentation/res/alipay.png','https://github.com/XCharts-Team/XCharts/blob/master/Documentation/res/wechat.png']
custom: ['https://github.com/XCharts-Team/XCharts/blob/master/Documentation~/zh/img/support_alipay.png','https://github.com/XCharts-Team/XCharts/blob/master/Documentation~/zh/img/support_wechat.png']

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: e66d91d4c396b46bf87034c47ca3b43d
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,141 +0,0 @@
<p align="center">
<a href="">
<img src="" alt="" width="" height="">
</a>
</p>
<h2 align="center">XCharts</h3>
<p align="center">
A powerful, easy-to-use, configurable charting and data visualization library for Unity.
<br>
Unity数据可视化图表插件。
<br>
<a href="https://github.com/XCharts-Team/XCharts">中文</a>
</p>
<p align="center">
<a href="https://github.com/XCharts-Team/XCharts/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/XCharts-Team/XCharts">
</a>
<a href="https://github.com/XCharts-Team/XCharts/releases">
<img src="https://img.shields.io/github/v/release/XCharts-Team/XCharts?include_prereleases">
</a>
<a href="">
<img src="https://img.shields.io/github/repo-size/monitor1394/unity-ugui-xcharts">
</a>
<a href="">
<img src="https://img.shields.io/github/languages/code-size/monitor1394/unity-ugui-xcharts">
</a>
<a href="">
<img src="https://img.shields.io/badge/Unity-5.6+-green">
</a>
<a href="">
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
</a>
</p>
<p align="center">
<a href="">
<img src="https://img.shields.io/github/stars/XCharts-Team/XCharts?style=social">
</a>
<a href="">
<img src="https://img.shields.io/github/forks/XCharts-Team/XCharts?style=social">
</a>
<a href="">
<img src="https://img.shields.io/github/issues-closed/XCharts-Team/XCharts?color=green&label=%20%20%20%20issues&logoColor=green&style=social">
</a>
</p>
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](XChartsTutorial01-EN.md)
[XCharts3.0 API](XChartsAPI-EN.md)
[XCharts3.0 FAQ](XChartsFAQ-EN.md)
[XCharts3.0 Configurate](XChartsConfiguration-EN.md)
[XCharts3.0 Changelog](../CHANGELOG.md)
[XCharts3.0 Support](SUPPORT.md)
## Features
* 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.
## XCharts3.0 new feature
* 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.
## XCharts3.0 improvements over XCharts2.0
* 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.
## XCharts3.0 and 2.0 data comparison
| 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 |
## Screenshots
![buildinchart](https://github.com/XCharts-Team/XCharts-Demo/blob/master/buildinchart.png)
![extendchart](https://github.com/XCharts-Team/XCharts-Demo/blob/master/extendchart.png)
For more examples, see [XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo), You can also go to [Online Demo](https://xcharts-team.github.io/demo/) to see the running effect of `WebGL`.
## Use
1. Import `XCharts` unitypackage or source code into the project.
2. Right-click `Hierarchy` view and choose `XCharts->LineChart` to create a default LineChart.
3. You can adjust the parameters of each component in `Inspector` and see the real-time effects in `Game` view.
See more tutorial: [XCharts tutorial: 5 minutes overhand tutorial](XChartsTutorial01-EN.md)
## FAQ
1. Is `XCharts` free to use?
A: `XCharts` uses the `MIT` licence and is free to use. You can also subscribe to `VIP` to enjoy more value-added services.
2. Does `XCharts` support code to dynamically add and modify data? Does it support getting data from `Excel` 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 to `XCharts` by calling the public interface of `XCharts`.
3. 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 supports `UGUI` can run `XCharts`.
## Changelog
[Changelog](CHANGELOG.md)
## Licenses
[MIT License](LICENSE.md)
## Other
email: `monitor1394@gmail.com`

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 29f30ecf23bb44bc5b0820dc5ee7a23e
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
# 订阅服务
如需技术支持,可订阅`个人VIP`服务。扫后面的二维码后可加VIP群`867291970`,验证信息请输入付费的账号。 企业商务合作可联系QQ3525422251XCharts技术支持
## 订阅VIP服务
订阅服务分个人订阅和企业订阅:
- 个人订阅个人VIP属于个人不可转让`XCharts`团队只服务于订阅当事人。
- 企业订阅企业VIP属于企业席位内可安排固定职员职员离职可重新安排`XCharts`团队通过专属企业群为企业服务。
订阅服务的优势?
- 提高工作效率,节省时间成本。一方面,`XCharts`功能强大,相关配置项非常多,`VIP`服务可快速帮您定位,节省去查找和核对的时间;另一方面,`VIP`的即时回答服务可快速为您答疑解惑,避免中断开发流程。总之,订阅`VIP`可让您能快速上手,快速处理问题,至少能提高`10`倍以上的工作效率。
- 更多技术交流,更多经验交流。`XCharts`团队成员从业多年,有丰富的技术和工作经验。`VIP`服务不仅可以交流`XCharts`相关的内容,也可以咨询其他方面的技术。`VIP`群也有更多的交流。
- 扩展图表的需要订阅`VIP`服务后才能购买扩展图表超过1年后的更新支持也需要持续订阅`VIP`服务。
- `VIP`用户可加入`XCharts``GitHub`组织,参与`XCharts`社区构建,访问专有仓库。
| |免费用户|付费咨询|个人`VIP` | 个人`SVIP` | 企业`VIP` |
| ----- |--|--|--|--|--|
| 订阅费用 | -- | `98`¥ | `298`¥ | 首年`1298`¥</br>后续`298¥`* | `联系我们` |
| 订阅时长 | -- | `7`天* | `1`年 | `1`年* | `1`
| 订阅席位 | -- | `1`个席位 | `1`个席位 |`1`个席位|`5`个以上席位|
| __`服务方式:`__|
| 官方QQ群交流 | √ | √ | √ | √ | √ |
| 即时一对一交流 | | √ | √ | √ | √ |
| 专属VIP群交流 | | | √ | √ | √(专属企业群) |
| __`服务内容:`__|
| 可商用 | √ | √ | √ | √ | √ |
| 可二次开发 | √ | √ | √ | √ | √ |
| 有问必答 | | √ | √ | √ | √ |
| 即时回答 | | √ | √ | √ | √ |
| 新手指导 | | √ | √ | √ | √ |
| 开发指导 | | √ | √ | √ | √ |
| 优化指导 | | √ | √ | √ | √ |
| 其他技术支持 | | | √ | √ | √ |
| 问题及时处理 | | | √ | √ | √ |
| 需求优先考虑 | | | √ | √ | √ |
| 可另付费定制 | | | √ | √ | √ |
| 可另付费加急 | | | √ | √ | √ |
| VIP专有功能教程和文档 | | | √待开放 | √待开放 | √待开放 |
| 扩展图表购买 | | | 按需购买 | 全部免费 | 按需购买 |
| 扩展图表源码 | | | 永久持有 | 永久持有 | 永久持有 |
| 扩展图表更新 | | | 1年持续更新</br>1年后需订阅 | 1年持续更新</br>1年后需订阅 | 1年持续更新</br>1年后需订阅 |
## 购买扩展图表
扩展图表为另付费购买图表,只对订阅了`VIP`服务的用户开放购买。对于`SVIP`的订阅用户,所有扩展图表仓库可免费使用,不用再单独购买。
对所有已购买的扩展图表,源码可永久持有,并获得持续一年的更新支持,超过一年后想要更新支持需要继续订阅`VIP`服务,如不继续订阅`VIP`服务,会从`GitHub``Team`中移除,不再能访问扩展图表的源码仓库。
|编号|扩展图表|价格|备注|
|--|--|--|--|
| 101 | PictorialBarChart | 98¥ | 象形柱图 |
| 102 | FunnelChart | 98¥ | 漏斗图 |
| 103 | PyramidChart | 98¥ | 3D金字塔 |
| 104 | TreemapChart | 98¥ | 树形矩图 |
| 201 | Bar3DChart | 198¥ | 3D柱图 |
| 202 | Pie3DChart | 198¥ | 3D饼图 |
| 203 | GanttChart | 198¥ | 甘特图 |
| 204 | GaugeChart | 198¥ | 仪表盘 |
| 205 | LiquidChart | 198¥ | 水位图 |
## 备注说明
1. __`付费定制`__ 是指用户可根据自己的需求定制不同的图表或新功能,只有`VIP`用户才享有`付费定制`权利。
2. __`付费加急`__ 是指用户可对自己非常紧急的需求进行付费,将开发优先级提到最高,并可要求在`Deadline`内交付,只有`VIP`用户才享有`付费加急`权利。
3. __`付费咨询`__ 付费咨询有效期`7`天,且总咨询时长不超过`7`个小时。
4. __`扩展图表`__ 购买后代码可永久持有和商用更新支持1年。超过1年后还需要更新支持的话需要订阅`VIP`服务。
## 捐助支持
如果这个项目对您有帮助,请右上方点 `Star` 予以支持!也欢迎任意金额的捐助,非常您的支持!
![alipay-qrcode](res/alipay.png)
![wechat-qrcode](res/wechat.png)

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 40051c210ea1244a99317f3264ac567f
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 002217c6b4b5348bd86b5a6b881d2622
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 2c38d275e62c6471ea2f4ef69b87b220
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 1fdd2e77324c84364bf033ffefa41123
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 1d5cdb90dc99540768bfb21ea8243d04
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: e803ae0ae73794ec6891fed7551fe01d
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 4df833a2a1e6c4a7da37a08379dd2e18
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,262 +0,0 @@
# 教程5分钟上手 XCharts 3.0
[XCharts主页](https://github.com/XCharts-Team/XCharts)</br>
[XCharts问答](XChartsFAQ-ZH.md)</br>
[XChartsAPI接口](XChartsAPI-ZH.md)</br>
[XCharts配置项手册](XChartsConfiguration-ZH.md)
## 获取和导入 XCharts
XCharts可通过以下任意一种方式导入到项目
- 直接将XCharts源码到项目
下载好XCharts源码后直接将XCharts目录拷贝到Unity项目工程的Assets目录下。
- 通过`Assets/Import Package`导入XCharts
下载好XCharts的.unitypackage文件后打开Unity菜单栏 Assets-->Import Package-->选中.unitypackage导入即可开始使用XCharts。
- 通过`Package Manager`导入XCharts
对于Unity 2018.3以上版本,可通过 Package Manager来导入XCharts打开Package Manager后通过 `Add package form git URL...`输入XCharts3.0的GitHub URL: `https://github.com/XCharts-Team/XCharts.git#3.0` 稍等片刻后即可使用XCharts。
也可以直接将package加入到`manifest.json`文件:打开`Packages`目录下的`manifest.json`文件,在`dependencies`下加入:
``` json
"com.monitor1394.xcharts": "https://github.com/XCharts-Team/XCharts.git#3.0",
```
如需更新`XCharts`,删除`manifest.json`文件部分Unity版本可能是packages-lock.json文件的`lock`下的`com.monitor1394.xcharts`相关内容即会重新下载编译。
## 添加一个简单图表
在`Hierarchy`视图下右键或菜单栏`GameObject`下拉选择`XCharts->LineChart`,即可快速创建一个默认的折线图出来:
![linechart1](res/linechart1.png)
## 添加多个Seire
在`Inspector`视图,找到`LineChart`的面板,通过`Add Serie`按钮,可以添加第二条`Line`折线:
![op_addserie](res/op_addserie.png)
![linechart2](res/linechart2.png)
## 添加其他组件
默认图表没有`Legend`,需要`Legend`组件可通过`Add Component`按钮添加:
![op_addcomponent](res/op_addcomponent.png)
## 添加Serie组件
Serie只自带了几个常见的组件其他组件按需额外添加。比如需要给折线图区域填充颜色可单独给`Serie`添加`AreaStyle`组件:
![op_addseriecomponent](res/op_addseriecomponent.png)
![linechart3](res/linechart3.png)
## 添加SerieData组件
如果需要个性化定制每个数据项的配置,可以单独给每个`SerieData`添加`Component`。比如我们给折线图的第二个数据单独显示`Label`
![op_addseriedatacomponent](res/op_addseriedatacomponent.png)
![linechart4](res/linechart4.png)
## 更多组件和配置参数
功能越丰富就越需要更多的组件和参数支持。XCharts有多达几十种的主组件和子组件每个组件有几个至几十个不等的可配置参数以支持各种灵活而复杂的功能。
首次接触XCharts者可在 `Inspector` 视图下可以添加和调整各个组件,`Game` 视图会实时反馈调整的效果,以熟悉各种组件实现的效果。各个组件的详细参数说明可查阅[XCharts配置项手册](XChartsConfiguration-ZH.md)。
## 如何快速调整参数
`XCharts`是配置参数驱动。想要什么效果,你只需要去调整对应组件下的配置参数就可以,不需要去改`Hierarchy`视图下的节点,因为那些节点是由`XCharts`内部根据配置参数生成的,即使改了也会在刷新时被还原回来。
快速定位你想要改的效果对应的组件。这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头如何定位第一步X轴定位到`XAxis0`;第二步,轴线定位到`AxisLine`;最后,再去看`AxisLine`组件下有没有这样的参数可以实现这个效果。
`XCharts`提供从全局`Theme`、系列`Serie`、单个数据项`SerieData`全方位的参数配置。优先级从大到小为:`SerieData`->`Serie`->`Theme`。以`ItemStyle`的颜色为例:
1. 如果`SerieData`的`ItemStyle`配置有非`0000`颜色值,则优先用这个颜色值。
2. 如果`Serie`的`ItemStyle`配置有非`0000`颜色值,则优先用这个颜色值。
3. 否则颜色值取自主题`Theme`的`Color Palette`。
通常颜色值为0000时表示用主题默认颜色配置为0或null时表示用主题默认配置。
## 用代码添加折线图
给`gameObject`挂上`LineChart`脚本:
```C#
var chart = gameObject.GetComponent<LineChart>();
if (chart == null)
{
chart = gameObject.AddComponent<LineChart>();
chart.Init();
}
```
调整大小:
```C#
chart.SetSize(580, 300);//代码动态设置尺寸或直接操作chart.rectTransform或直接在Inspector上改
```
设置标题:
```C#
var title = chart.GetOrAddChartComponent<Title>();
title.text = "Simple Line";
```
设置提示框和图例是否显示:
```C#
var tooltip = chart.GetOrAddChartComponent<Tooltip>();
tooltip.show = true;
var legend = chart.GetOrAddChartComponent<Legend>();
legend.show = false;
```
设置坐标轴:
```C#
var xAxis = chart.GetOrAddChartComponent<XAxis>();
xAxis.splitNumber = 10;
xAxis.boundaryGap = true;
xAxis.type = Axis.AxisType.Category;
var yAxis = chart.GetOrAddChartComponent<YAxis>();
yAxis.type = Axis.AxisType.Value;
```
清空默认数据,添加`Line`类型的`Serie`用于接收数据:
```C#
chart.RemoveData();
chart.AddSerie<Line>("line");
```
添加10个数据
```C#
for (int i = 0; i < 10; i++)
{
chart.AddXAxisData("x" + i);
chart.AddData(0, Random.Range(10, 20));
}
```
这样一个简单的折线图就出来了:
![linechart-simple](res/linechart-simple.png)
如果一个Chart里面有多个系列时则Axis的data只需要加一次不要多个循环加重复了。记住Axis的数据个数要和Serie的数据个数一致。
完整代码请查阅`Examples``Example13_LineSimple.cs`
你还可以用代码控制更多的参数,`Examples`下还有更多的其他例子,凡是`Inspector`上看到的可配置的参数,都可以通过代码来设置。[XCharts配置项手册](XChartsConfiguration-ZH.md)里面的所有参数都是可以通过代码控制的。
另外,除非定制,建议调用`Chart`下提供的`public`接口,特别是数据相关操作部分。这些接口内部会做一些关联处理,比如刷新图表等。常见的接口有:
1. `chart.ClearData()`清空图表数据不移除Series
2. `chart.RemoveData()`清除图表数据会移除所有Serie
3. `chart.AddSerie()`添加Serie
4. `chart.AddXAxisData()`添加X轴数据
5. `chart.AddData()`添加Serie数据
6. `chart.UpdateData()`更新Serie数据
7. `chart.UpdateXAxisData()`更新X轴数据
8. `chart.UpdateDataName()`更新Serie数据的名字
XCharts内部有自动刷新机制但也是在一定条件下。如果自己调用了内部组件的接口碰到组件没有刷新确实找不到原因的话可以用以下两个接口强制刷新
1. `chart.RefreshAllComponent()`:刷新图表组件,会重新初始化所有组件,不建议频繁待用。
2. `chart.RefreshChart()`:刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
## 使用TextMeshPro
XCharts支持TextMeshPro但默认是不开启的需要自己手动切换。可通过以下方式开启和关闭
![textmeshpro1](res/op_textmeshpro.png)
开启后需要设置好TextMeshPro要用的全局字体也可以在主题Theme里单独设置
![textmeshpro-font](res/op_textmeshpro3.png)
建议在项目初就规划好是否使用TextMeshPro并设置好字体。在已有很多图表的情况下切换TMP时可能某些图表无法自动刷新可以手动点击`Rebuild Chart Object`按钮来重建图表,即可正常初始化。
开启了TMP项目在更新XCharts时可能会碰到丢失了TMP引用而无法编译通过的问题可通过以下两种方式解决
1. 找到`XCharts.Runtime.asmdef`和`XCharts.Editor.asmdef`,手动加上 `TextMeshPro`的引用
2. 移除`PlayerSetting`中`Scripting Define Symbols`的`dUI_TextMeshPro`宏
## 用代码改图表参数
`Inspector`上看到的所有参数都可以用代码来修改关键是要定位好你要改的参数是在组件上、还是serie上、还是在具体的数据项上改。
### 改主组件上的参数
需要先获取组件,再修改里面的参数:
```C#
var title = chart.GetOrAddChartComponent<Title>();
title.text = "Simple LineChart";
title.subText = "normal line";
var xAxis = chart.GetOrAddChartComponent<XAxis>();
xAxis.splitNumber = 10;
xAxis.boundaryGap = true;
xAxis.type = Axis.AxisType.Category;
```
### 改Serie的参数
新添加的Serie
```C#
var serie = chart.AddSerie<Pie>();
serie.center[0] = 0.5f;
serie.center[1] = 0.5f;
serie.radius[0] = 80;
serie.radius[1] = 90;
serie.animation.dataChangeEnable = true;
serie.roundCap = true;
```
已存在的Serie
```C#
var serie = chart.GetSerie<Pie>();
serie.center[0] = 0.5f;
serie.center[1] = 0.5f;
serie.radius[0] = 80;
serie.radius[1] = 90;
serie.animation.dataChangeEnable = true;
serie.roundCap = true;
```
给Serie添加额外组件
```C#
serie.AddExtraComponent<AreaStyle>();
var label = serie1.AddExtraComponent<LabelStyle>();
label.offset = new Vector3(0,20,0);
```
### 改数据项SerieData上的参数
```C#
var serieData = chart.AddData(0, 20);
//var serieData = serie.GetSerieData(0); //从已有数据中获取
serieData.radius = 10;
var itemStyle = serieData.GetOrAddComponent<ItemStyle>(); //给数据项添加ItemStyle组件
itemStyle.color = Color.blue;
```
[XCharts主页](https://github.com/XCharts-Team/XCharts)</br>
[XCharts问答](XChartsFAQ-ZH.md)</br>
[XChartsAPI接口](XChartsAPI-ZH.md)</br>
[XCharts配置项手册](XChartsConfiguration-ZH.md)

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: a772f2d2a3f994d439db4a07365b9554
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 2ab7eabdc796a45aea5bc457dc9e27f8
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 9619faeb62a184c94b83e389fd22f692
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 1e91cbf448b1c44769054375b1686439
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 172962e9e20c74c8a8428f507843b6d3
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: e610f9feea0064345909b632bba12e2e
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: ba7e7b5180b354b26baf5314d5da59f6
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 42bd080b0812b4bdcb8685adad22cd1e
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 52450d00759b44e678862b5ca8895072
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: c7e8baa3a53ba41e9bb63d02176b87ff
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 4fa12bb2901d144b88abb5f304979291
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: b1eb790b2091e4df380350030c6d8d8d
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 1ca6fe245906a453284b526f09c44eff
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 9031f7bed8c7f4350affc32cc7016b5e
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: 1777b9bc4f1df446eaf01931cb0b07ed
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,76 +0,0 @@
fileFormatVersion: 2
guid: c62c735b2989c4367b8c97b8ca75c216
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

3266
Documentation~/en/api.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -2,42 +2,419 @@
# 更新日志
[master](#master)
[v3.0.1](#v3.0.1)
[v3.0.0](#v3.0.0)
[v2.3.0](#v2.3.0)
[v2.2.3](#v2.2.3)
[v2.2.2](#v2.2.2)
[v2.2.1](#v2.2.1)
[v2.2.0](#v2.2.0)
[v2.1.1](#v2.1.1)
[v2.1.0](#v2.1.0)
[v2.0.1](#v2.0.1)
[v2.0.0](#v2.0.0)
[v2.0.0-preview.2](#v2.0.0-preview.2)
[v2.0.0-preview.1](#v2.0.0-preview.1)
[v1.6.3](#v1.6.3)
[v1.6.1](#v1.6.1)
[v1.6.0](#v1.6.0)
[v1.5.2](#v1.5.2)
[v1.5.1](#v1.5.1)
[v1.5.0](#v1.5.0)
[v1.4.0](#v1.4.0)
[v1.3.1](#v1.3.1)
[v1.3.0](#v1.3.0)
[v1.2.0](#v1.2.0)
[v1.1.0](#v1.1.0)
[v1.0.5](#v1.0.5)
[v1.0.4](#v1.0.4)
[v1.0.3](#v1.0.3)
[v1.0.2](#v1.0.2)
[v1.0.1](#v1.0.1)
[v1.0.0](#v1.0.0)
[v0.8.3](#v0.8.3)
[v0.8.2](#v0.8.2)
[v0.8.1](#v0.8.1)
[v0.8.0](#v0.8.0)
[v0.5.0](#v0.5.0)
[v0.1.0](#v0.1.0)
[v3.9.0](#v390)
[v3.8.1](#v381)
[v3.8.0](#v380)
[v3.7.0](#v370)
[v3.6.0](#v360)
[v3.5.0](#v350)
[v3.4.0](#v340)
[v3.3.0](#v330)
[v3.2.0](#v320)
[v3.1.0](#v310)
[v3.0.1](#v301)
[v3.0.0](#v300)
[v3.0.0-preview9](#v300-preview9)
[v3.0.0-preview8](#v300-preview8)
[v3.0.0-preview7](#v300-preview7)
[v3.0.0-preview6](#v300-preview6)
[v3.0.0-preview5](#v300-preview5)
[v3.0.0-preview4](#v300-preview4)
[v3.0.0-preview3](#v300-preview3)
[v3.0.0-preview2](#v300-preview2)
[v3.0.0-preview1](#v300-preview1)
[v2.8.1](#v281)
[v2.8.0](#v280)
[v2.7.0](#v270)
[v2.6.0](#v260)
[v2.5.0](#v250)
[v2.4.0](#v240)
[v2.3.0](#v230)
[v2.2.3](#v223)
[v2.2.2](#v222)
[v2.2.1](#v221)
[v2.2.0](#v220)
[v2.1.1](#v211)
[v2.1.0](#v210)
[v2.0.1](#v201)
[v2.0.0](#v200)
[v2.0.0-preview.2](#v200-preview2)
[v2.0.0-preview.1](#v200-preview1)
[v1.6.3](#v163)
[v1.6.0](#v160)
[v1.5.2](#v152)
[v1.5.1](#v151)
[v1.5.0](#v150)
[v1.4.0](#v140)
[v1.3.1](#v131)
[v1.3.0](#v130)
[v1.2.0](#v120)
[v1.1.0](#v110)
[v1.0.5](#v105)
[v1.0.4](#v104)
[v1.0.3](#v103)
[v1.0.2](#v102)
[v1.0.1](#v101)
[v1.0.0](#v100)
[v0.8.3](#v083)
[v0.8.2](#v082)
[v0.8.1](#v081)
[v0.8.0](#v080)
[v0.5.0](#v050)
[v0.1.0](#v010)
## master
## v3.9.0
Highlights:
* Added `Animation` in `Axis` to improve the animation effect of data changes
* Added `minorTick` for `Log` type of `Axis`
* Added MarkLine's `onTop` setting to displayed at the top level
* Perfect code comments and documentation
* Fixed several issues
Extended features:
* `UITable` adds the carousel function
* `UITable` adds data api and callback functions
* `Pie3DChart` optimizes rendering performance
Log details:
* (2023.12.01) Fixed inaccurate display of Tooltip's `titleFormatter` set to `{b}`
* (2023.11.30) Added support for `SerieData` to add `Label` separately
* (2023.11.28) Fix to `Tooltip` incorrectly indicating the number line
* (2023.11.24) fixed inaccurate return values in Chart's `UpdateData()` interface
* (2023.11.24) Fix to `Axis` not working smoothly when updating data
* (2023.11.23) Added Animation support for Axis
* (2023.11.16) Cancel `Legend`'s `formatter` and replace it with `LabelStyle`
* (2023.11.14) Improved annotation and documentation for LabelStyle's formatter (#291)
* (2023.11.11) Fix to comments Documentation for some comments in `Documentation` (#290)
* (2023.11.11) fixed an issue where Legend's formatter didn't refresh automatically when data was changed
* (2023.11.05) Fix to SerieEventData's value always being 0 (#287)
* (2023.11.03) Fix to abnormal mouse movement when setting `Bar` gradient (#285)
* (2023.11.02) Optimizes ignoring of formatter when SerieData is set to ignore
* (2023.11.01) Added whether MarkLine's `onTop` setting is displayed at the top level
* (2023.10.21) Fix to `Label` location exception when `Pie` has 0 data
* (2023.10.21) Added subscale support for `Axis`
* (2023.10.19) Fixed abnormal lead line when `Pie` set rose chart
* (2023.10.15) Fixed Animation exception when `Line` was set to `AlongPath` (#281)
* (2023.10.12) Fixed invalid value axis when `MarkLine` specified `yValue`
* (2023.10.11) Fixed invalid setting of `Serie` `showDataDimension`
## v3.8.1
* (2023.10.02) Release `v3.8.1` version
* (2023.09.29) Fixed issue where `Bar` is set to `Bottom` when horizontal does not take effect
* (2023.09.22) Added support for dashed lines in `Line`'s smooth curves
* (2023.09.16) Fix to `Tooltip` reporting an exception when there is no data in the category axis (#279)
* (2023.09.16) Fix to `Pie` drawing exception with no data (#278)
* (2023.09.12) Added `Pie` `radiusGradient` to set the gradient effect in the radius direction
* (2023.09.05) Improved the performance of LabelLine`s lineEndX in Pie
* (2023.09.05) Fixed `TriggerTooltip()` interface not working for `Ring`
* (2023.09.05) Fixed drawing error when `Radar` data is all zeros
## v3.8.0
Highlights:
* Refactoring `Animation` animation system, adding support for `New Animation` and `Interactive animation`
* Improved `PieChart` animation interactive representation
* Added four new markers for `Symbol` : `EmptyTriangle`, `EmptyDiamond`, `Plus` and `Minus`
* Improved `Chart` mouse interaction callback
* Added the function of `LabelLine` to fix the horizontal coordinate
* Added `GridLayout` grid layout component
* Added `Auto` type for `Tooltip`
* Optimizes and fixes several other issues
Log details:
* (2023.09.03) Release `v3.8.0`
* (2023.09.01) Added `Tooltip` Auto to automatically set display type and trigger type
* (2023.08.29) Added gridIndex support for `Ring` to set the specified grid
* (2023.08.29) Added gridIndex support for Radar to set the specified grid
* (2023.08.29) Added gridIndex support for `Pie` to set specified grids
* (2023.08.29) Added the GridLayout component for managing multiple GridCoord layouts
* (2023.08.25) Fixed display only one Label when there are multiple Marklines
* (2023.08.25) Fixed MarkLine drawing outside the coordinate system after opening Clip
* (2023.08.24) Optimizes `YAxis` to default 0-1 range when all data is 0
* (2023.08.23) Fixed an issue where `Label` of `YAxis` could duplicate
* (2023.08.22) Fixed `Bar` display hidden drawing performance exception
* (2023.08.22) Improved Zebra histogram rendering performance (#276)
* (2023.08.16) Added Daemon daemon to resolve an error after TMP is enabled locally
* (2023.08.15) Fixed `Data` displaying axes incorrectly when data is between -1 and 1 (#273) (by **Ambitroc**)
* (2023.08.14) Fixed `XCharts` updating error after` TextMeshPro `and` NewInputSystem `are enabled locally (#272)
* (2023.08.12) Fixed `Chart` error when deleted at runtime (#269)
* (2023.08.11) Fixed an issue where data could not be added when DataZoom was enabled
* (2023.08.11) Fixed `itemFormatter` not working when `SerieData` sets ItemStyle separately
* (2023.08.10) Improved BarChart`s performance when Tooltip`s Trigger is an Item
* (2023.08.09) Added `Axis` to support dynamic icon colors by setting `color` of `IconStyle` to `clear`
* (2023.08.08) Added support for `Pie` for `LabelLine`s` lineEndX `
* (2023.08.05) Clean up the code for `Examples` and remove unnecessary use cases
* (2023.08.04) Added support for `LabelLine`'s `lineEndX` to set the boot line to fixed X position
* (2023.08.04) Added support for Ring`s avoidLabelOverlap to avoid text stacking (#247)
* (2023.08.03) Improved Chart`s onSerieEnter, onSerieExit, and onSerieClick callbacks
* (2023.08.02) Fixed invalid `onSerieEnter` and `onSerieExit` callbacks for `BarChart`
* (2023.08.02) Added support for Symbol's `Plus` and `Minus` signs
* (2023.07.31) Added support for Symbol's `EmptyTriangle` and `EmptyDiamond`, improved `Symbol` performance
* (2023.07.31) Improved the default configuration effect of `Line`
* (2023.07.27) Add `Serie` to `minRadius` to set minimum radius
* (2023.07.26) Added `MLValue` multiple values
* (2023.07.25) Added `XLog` log system
* (2023.07.18) Improved the interactive animation effect of `Pie` pie chart
* (2023.07.14) Added support for `Animation` `Interaction` interactive animation configuration
* (2023.07.11) Added `Animation` `Addition` new animation configuration support
* (2023.07.11) Reconstructs `Animation` animation system to improve animation experience
* (2023.06.30) Added support for PolarCood`s indicatorLabelOffset setting indicating text offsets
* (2023.06.30) Fixed an issue where the background color of Axis `IndicatorLabel` could be abnormal
* (2023.06.30) Added support for Axis `IndicatorLabel` customizable `color`
* (2023.06.12) Fixed an issue where AxisLabel's formatterFunction had the wrong value on the value axis
## v3.7.0
Highlights:
* Added `HelpDoc` official website help document redirection
* Added support for `Clip` for `Line`
* Optimize the range Settings of `Axis`
* Other optimizations and fixes
Log details:
* (2022.06.08) Release v3.7.0
* (2023.06.04) Added `HelpDoc` help document skip
* (2023.05.30) Fixed Serie name with `_` line causing `Legend` to not fire (#252) (by **svr2kos2**)
* (2023.05.10) Added `MinMaxAuto` range type for `Axis`
* (2023.05.10) Added support for `Clip` for `Line`
* (2023.05.04) Fixed `Axis` setting` CeilRate `not taking effect in range -1 to 1
* (2023.05.04) Optimizes MinMax type range calculations for Axis
* (2023.05.04) Fixed AxisLabel displaying `Label` formatting incorrectly when the data is all floating point numbers less than 1
* (2023.05.04) Fixed `Theme` being reset after modifying default theme parameters
* (2023.05.04) Added `Warning` when `Symbol` selects `Custom` type
* (2023.04.15) Fixed `DataZoom` may be abnormal in multiple charts (#252)
* (2023.04.14) Fixed `Tooltip` may be abnormal when there is only one data
* (2023.04.14) Added `BaseChart`s `TriggerTooltip()` interface to try to trigger `ToolTip`
* (2023.04.12) Optimizes` RadarCood `setting` startAngle `with text following the adjustment position
* (2023.04.12) Added `Radar` support for wildcard `{b}`
* (2023.04.11) Fixed an issue where Inspector could be abnormal when dynamically adding components
## v3.6.0
* (2023.04.01) Release `v3.6.0` version
* (2023.03.14) Fix for Tooltip's `titleFormater` setting `{b}` may not take effect
* (2023.03.14) Fix for `BarChart` not drawing bar background when data is 0 (#250) (by **Ambitroc**)
* (2023.03.12) Added `LabelStyle` `autoRotate` to set automatic rotation of angled vertical text
* (2023.03.10) Added `VR` and other non-mouse input for Point location acquisition (#248) (by **Ambitroc**)
* (2023.03.09) Adds callbacks to Chart's `onSerieClick`, `onSerieDown`, `onSerieEnter` and `onSerieExit`
* (2023.03.09) Fixed click-check offset for `Pie` not taking effect
* (2023.03.04) Added Positions for Legend to customize legend positions
* (2023.03.03) Fixed `Animation` changing animation that might not work
* (2023.02.28) Fixed issue with Serie's Label not refreshing when `Legend` is clicked
* (2023.02.26) Adds DataZoom's `startEndFunction` delegate
* (2023.02.12) Refactor the Component code and adjust the API
* (2023.02.10) Fix `Axis` with incorrect minimum in `Log` axis in some cases
* (2023.02.10) Optimizes the default display format of Axis's value Label
* (2023.02.08) Added startLock and endLock for DataZoom
* (2023.02.02) Fixed bug where datazoom xaxis label could be displayed off-chart when datazoom is turned on
* (2023.02.02) Optimizes the `ignore` setting of `SerieData` to ignore data
* (2023.02.01) Fix `XChartsMgr.ContainsChart()` interface exception
* (2023.01.31) Added support for `InputSystem` (#242) (by **Bian-Sh**)
* (2023.01.11) Fixed chart not refreshing after removing Component from Inspector (#241)
* (2023.01.06) Fixed bug with `Pie` displaying abnormal Label when the last few values are 0 (#240)
* (2023.01.03) deletes serie `MarkColor` and adds ItemStyle `MarkColor`
* (2022.12.29) Added `+` to list editor
* (2022.12.29) Fixed `UpdateXYData()` interface affecting data accuracy (#238)
* (2022.12.28) Fixed abnormal display when setting `border` when `Pie` has only one data (#237)
* (2022.12.22) Adjust `Covert` rename to `Convert`, involving interfaces such as: `ConvertXYAxis()`, `CovertSerie()`, etc
* (2022.12.22) Fixed abnormal display of `Label` after `Convert XY Axis`
* (2022.12.12) Fixed an issue where the `Value` Axis of `axis` calculated the value range incorrectly in some cases
* (2022.12.12) Optimized legend's formatter to support `{h}` wildcards
* (2022.12.12) Fixed abnormal display of Legend's formatter when set to a fixed value
* (2022.12.08) Added `AreaStyle` `toTop` parameter to set whether the line graph gradient goes to the top or to the actual position
* (2022.12.07) Adds text wildcard `{h}` for `Formatter` to support setting current color values
## v3.5.0
Highlights:
* Updated documentation structure, added [Official XCharts Homepage](https://xcharts-team.github.io)
* Added support for the DataZoom box selected.
* Added support for maximum width Settings for bars.
* Other optimizations.
Upgrade Note:
* Due to the adjustment of the document directory structure, it is recommended to back up the files before upgrading and delete the original XCharts before upgrading them.
Log details:
* (2022.12.01) Release v3.5.0
* (2022.11.30) Increase `Serie` `barMaxWidth` can set the maximum width of `Bar`
* (2022.11.30) Optimize `Tooltip`s` Shadow `drawing to stay within chart scope
* (2022.11.29) Fix an issue with `Serie` data item index exception indicated by `Tooltip`
* (2022.11.27) Optimizes the offset Settings for `Axis` `AxisName`
* (2022.11.27) Optimize the Position of `Comment` by replacing position with `Location`
* (2022.11.27) Optimizes` Tooltip ` `LineStyle` to support setting `Shadow` when using color
* (2022.11.27) Adjust the Documentation structure
* (2022.11.26) Optimizes LabelLine's `symbol` not to be displayed by default
* (2022.11.26) Fixed `LineChart` adding unordered data display exception when `XY` is numeric axis
* (2022.11.26) Fixed an exception when selecting `DataZoom` from right to left
* (2022.11.20) Rename `UdpateXAxisIcon()` interface to `UpdateXAxisIcon()` (#235)
* (2022.11.12) Added `Pie` `LabelLine` support `Symbol`
* (2022.11.12) Added `DataZoom` `MarqueeStyle` support box selection area
* (2022.11.10) Optimized area color fill effect for `Radar` when type is` Single `
* (2022.11.04) Fixed exception after itemFormatter `Tooltip` set wildcard `{d}`
## v3.4.0
Highlights:
* Added `indicatorLabel` of `Axis` to set different indicator text styles separately
* Add `markColor` of `Serie` to set the logo color
* Add `startAngle` of `RadarCoord` to set the starting Angle of `Radar`
* Optimize the numerical interval representation of `Axis`
* Added `DataZoom` support for numeric axes
* Add `SmoothLimit` of `Line` to control different effects of smoothing curves
Details:
* (2022.11.01) Release `v3.4.0` version
* (2022.10.30) adds API: `AddData()`, `ClearSerieData()`, `ClearComponentData()`
* (2022.10.30) Added `Axis`'s `indicatorLabel`, removed `Tooltip`'s `indicatorLabelStyle` (#226)
* (2022.10.29) Add `Serie` `markColor` to set logo colors for display of `Legend` and `Tooltip` (#229)
* (2022.10.26) increase the startAngle of RadarCoord to set the startAngle of Radar
* (2022.10.21) Fixed `Chart` not displaying `Label` properly when controlled by `Layout` (#231)
* (2022.10.21) fixed compatibility issues on Unity2019.2
* (2022.10.18) Optimize the numerical performance of `Axis`
* (2022.10.15) Fixed an issue where `Axis` `Label` might not appear properly when `DataZoom` is enabled (#227)
* (2022.10.14) Added `DataZoom` support for numeric axes
* (2022.10.13) Fixed the `Pie` circle with abnormal border Settings (#225)
* (2022.10.13) Fixed the `Download` interface causing the `iOS` platform packaging failure
* (2022.10.12) Added support for `Animation` `UnscaledTime` to set whether the animation is affected by TimeScale (#223)
* (2022.10.10) Optimizes the `Documentation~` format
* (2022.10.10) Add `Line` `SmoothLimit` to control different effects of smoothing curves
* (2022.10.05) Fixed an issue where `Serie` hid information when `Tooltip` was also displayed
* (2022.09.30) Fixed `DivideByZeroException` when Chart `is very small (#230)
## v3.3.0
Highlights:
* Optimized chart details to support more functions
* Add lots of Demo examples
* Improved documentation and fixed several issues
* Added PolarChart support for Bar and Heatmap
* Added a HeatmapChart type
* Improved Tooltip display
Details:
* (2022.09.26) Optimizes the default number of segments for `Axis` at the category Axis
* (2022.09.25) Fixed the problem that some interfaces in the `API` document were not exported
* (2022.09.24) optimize `FunnelChart`
* (2022.09.23) Optimizes `ParallelChart`
* (2022.09.22) Added `SaveAsImage()` interface to save charts to images
* (2022.09.21) Fixed an issue where the `InsertSerie()` interface did not refresh the graph
* (2022.09.21) Optimized `PolarChart` for `Line` thermal map support
* (2022.09.20) Added `PolarChart` support for `Heatmap`
* (2022.09.19) Added `PolarChart` support for multi-bar graphs and stacked bar graphs
* (2022.09.16) Added `PolarChart` support for `Bar` histogram
* (2022.09.14) Added support for `PolarCoord` to set ring polar coordinates via `Radius`
* (2022.09.09) Fixed an issue where some components of edit parameters in `Editor` might not refresh in real time
* (2022.09.08) Added support for `RingChart` settable `LabelLine` bootline
* (2022.09.06) Added support for `SerieSymbol` `minSize` and `maxSize` parameters to set maximum and minimum sizes
* (2022.09.06) Added support for `showStartLine` and `showEndLine` parameters for `AxisSplitLine` to set whether to display the first splitter
* (2022.09.06) Added `Heatmap` support for different patterns via `symbol`
* (2022.09.05) Added `Heatmap` `heatmapType` support for setting `Data` and `Count` two different mapping methods of Heatmap
* (2022.09.05) Optimizes `Tooltip` when indicating numerical axis in thermograph
* (2022.09.02) Added `onPointerEnterPie` callback support
* (2022.09.02) Optimize the HeatmapChart `
* (2022.08.30) optimizes` RadarChart `
* (2022.08.30) Fixed `DataZoom` calculation range inaccuracies in some cases (#221)
* (2022.08.29) optimizes the default behavior of `BarChart` when data is too dense
* (2022.08.29) optimizes `YAxis` Max/min calculations when `DataZoom` is enabled
* (2022.08.29) optimized `CandlestickChart` massive data rendering
* (2022.08.28) fixed an issue where `LineChart` does not appear properly in the case of stacking and custom Y-axis range
* (2022.08.26) Added `Legend` new icon type `Candlestick`
* (2022.08.26) optimizes` CandlestickChart `performance and adjusts related` AddData() `interface parameters
* (2022.08.26) Added support for setting different display positions in Tooltip's `position` parameter
* (2022.08.26) Delete the `fixedXEnable` and `fixedYEnable` arguments of Tooltip
* (2022.08.25) EmphasisStyle `EmphasisStyle` has emphasised the support for `label`
* (2022.08.25) Added support for `formatter` for `{d3}` specified percentage of dimension data
* (2022.08.24) fixed the `label` of the `ScatterChart` not refreshing
* (2022.08.24) fixed abnormal display of `label` of `MarkLine` in some cases
## v3.2.0
Highlights:
* `Serie` supports highlighting, EmphasisStyle, EmphasisStyle, BlurStyle, and SelectStyle
* `Axis` supports sub-scale and sub-partition of coordinate axes:`MinorTick` and `MinorSplitLine`
* `Serie` supports different color selection strategies: `colorBy`
* `Radar` supports smooth curves: `smooth`
* `Line` supports filling as a convex polygon: `AreaStyle` `innerFill`
* `DataZoom` supports timeline
* Other optimizations and issue fixes
Details:
* (2022.08.16) Release `v3.2.0` version
* (2022.08.15) optimized `Smooth` Bezier curve algorithm
* (2022.08.13) Fixed an issue where the `DataZoom` component might not display correctly when opened
* (2022.08.11) Optimized Tooltip supports `ignoreDataDefaultContent`
* (2022.08.10) fixed abnormal display of some components of `Chart` under 3D camera
* (2022.08.10) Fix `RemoveSerie()` interface not working (#219)
* (2022.08.10) Optimized font synchronization for Theme
* (2022.08.10) optimizes the default `layer` of Chart to `UI`
* (2022.08.09) optimizes the `Time` timeline of `Axis`
* (2022.08.09) Added AreaStyle `innerFill` parameter to support filling convex polygons
* (2022.08.08) Optimized the maintenance of data item indexes in `Serie`, added detection and repair functions, and fixed related problems
* (2022.07.29) Fixed `Unity` version compatibility: Chart creation exception after some versions import
* (2022.07.29) Add `Axis` to` Time `timeline, support sub-scale and sub-divider
* (2022.07.28) optimizes the `Radar` image
* (2022.07.28) increase `Serie` `colorBy` parameter configuration color taking strategy
* (2022.07.27) Adds StateStyle `Symbol` to configure the Symbol style in the state
* (2022.07.27) remove selectedSize from SerieSymbol
* (2022.07.24) adds default state Settings for `Serie` and `SerieData`
* (2022.07.22) add three states` EmphasisStyle `, `EmphasisStyle`, `SelectStyle` of `Serie`
* (2022.07.22) remove `highlightColor` and `highlightToColor` arguments from `AreaStyle`
* (2022.07.22) Omit the `Emphasis`,` EmphasisItemStyle `, `EmphasisLabelStyle`, `EmphasisLabelLine` component
* (2022.07.20) Added `Since` feature support for classes
* (2022.07.20) fixed the `showStartLabel` and `showEndLabel` parameter Settings for `AxisLabel` not taking effect when `Axis` is on the` Value `Axis
* (2022.07.19) Added `Axis` to` MinorSplitLine `to set the Axis degree divider
* (2022.07.19) Added `Axis` `MinorTick` to set the Axis sub-scale
* (2022.07.17) Add the `smooth` parameter for Radar to set the smooth curve
* (2022.07.15) Added DataZoom support for the `Time` timeline
## v3.1.0
* (2022.07.12) Release `v3.1.0` version
* (2022.07.12) Fixed `Serie` `ignoreLineBreak` not working
* (2022.07.07) Optimized `Axis` `minMaxType` to support precision to decimals when specified as `MinMax`
* (2022.07.05) Fixed drawing exception when there are multiple coordinate systems in `Chart` (#210)
* (2022.07.04) Added the axisMaxSplitNumber parameter of `Settings` to set the maximum number of partitions for `Axis`
* (2022.07.04) Fixed Axis` Tick `drawing position after setting `offset`(#209)
* (2022.07.03) Optimize the `AxisLabel` formatterFunction custom delegate
* (2022.07.03) Added the `onZero` parameter of `AxisName` to support setting the coordinate AxisName and position to match the Y-axis 0 scale (#207)
* (2022.07.02) Fixed bug where `Legend` was not working when `PieChart` was being created dynamically with code (#206)
* (2022.07.02) Fixed `YAxis` AxisLabel setting `onZero` not working
* (2022.07.02) Fixed `AxisLabel` code refreshing after setting `distance` property
* (2022.06.30) Fixed an issue where components could not be initialized when creating diagrams under `Runtime` code
* (2022.06.29) Added `itemFormatter` support for `{c0}` in `Tooltip` to display dimension data (#205)
* (2022.06.28) Optimize text performance when `Pie` sets up `avoidLabelOverlap` (#56)
* (2022.06.25) Optimize smooth curve representation of `Line` (#169)
* (2022.06.25) Fixed inconsistent display of `Tooltip` when `DataZoom` is enabled (#203)
* (2022.06.25) Fixed `Toolip` drawing exception when there is no data in the category axis (#204)
* (2022.06.25) Optimize `Serie` setting `PlaceHolder` for `Tooltip` performance
* (2022.06.25) Added `Since` to identify the version from which the configuration parameter is supported
* (2022.06.24) Optimize `Painter` drawing layer, `Top` layer is subdivided into `Upper` and `Top` layers
* (2022.06.24) Added `Legend` support for `Background` and `Padding`
* (2022.06.21) Added `TextStyle` support for `Sprite Asset` of `TextMeshPro` (#201)
* (2022.06.20) Optimize boundary limits for `Tooltip` (#202)
* (2022.06.20) Fixes compilation error when `TextMeshPro` is turned on
* (2022.06.20) Fixed issue where the fade Animation of `Animation` would not work
## v3.0.1
@@ -70,9 +447,105 @@
* Added `Widgets`.
* Added multiple extension charts.
## v3.0.0-preview9
## v3.0.0-preview8
## v3.0.0-preview7
## v3.0.0-preview6
## v3.0.0-preview5
## v3.0.0-preview4
## v3.0.0-preview3
## v3.0.0-preview2
## v3.0.0-preview1
## v2.8.2
* (2022.08.15) Release `v2.8.2` version
* (2022.08.15) Added support for the `HeatmapChart` formatter for custom Tooltip
* (2022.07.13) Fixed `SerieLabel` refresh exception #215
* (2022.06.30) Optimize `Radar` so that the `Tooltip` layer is above `Indicator`
## v2.8.1
* (2022.05.03) Added `onLegendClick`, `onLegendEnter` and `onLegendExit` delegate callbacks for `Legend`
* (2022.04.21) Fixed bug #192 with `RingChart` `Tooltip` exception
* (2022.04.21) Fixed error when setting `minShowNum` in `DataZoom`
## v2.8.0
* (2022.04.10) Added the debug information panel
* (2022.04.09) Fixed `VisualMap` not working in some cases
* (2022.04.08) Optimized `XCharts` initialization #190
* (2022.04.08) Fixed color error #187 in `Radar`
* (2022.03.24) Fixed `Axis` precision issue #184
## v2.7.0
* (2022.03.20) Release `v2.7.0` version
* (2022.02.21) Fixed chart name repeat check error #183
* (2022.02.17) Fixed bug where axis split line might be displayed outside the coordinate system #181
* (2022.02.08) Fixed {d} formatter error when value is 0
* (2022.02.08) Fixed `YAxis` `AxisLabel`'s `onZero` does not work
* (2022.01.06) Improved `Zebra` bar chart
## v2.6.0
* (2021.12.30) Release `v2.6.0` version
* (2021.12.21) Fixed `Emphasis` dont work
* (2021.12.17) Fixed `MarkLine` does not auto refresh label active when serie hide #178
* (2021.12.10) Improved `Radar`'s `AxisLine` and `SplitLine` to be controlled separately
* (2021.12.08) Fixed y axis does not refresh when serie hidden
* (2021.12.04) Added `Symbol` new types: `EmptyRect`, `EmptyTriangle`, `EmptyDiamond`
* (2021.12.04) Added setting symbol empty area color by itemStyle's backgroundColor
* (2021.12.03) Fixed formatter `{c}` not work #175
* (2021.12.03) Fixed axis `boundaryGap` display error in some cases #174
* (2021.11.30) Fixed serie `ignore` display error in some cases #173
## v2.5.0
* (2021.11.27) Release `v2.5.0` version
* (2021.11.27) Added `Tooltip` delegate function `positionFunction`
* (2021.10.29) Removed settings for `TextMeshPro` when package first imported
* (2021.10.29) Added support for `{e}` in `Tooltip` #170
* (2021.09.08) Improved `RadarChart`
* (2021.09.07) Fixed bug where `label` does not disappear at the end of `PieChart` fade animation #168
* (2021.09.06) Fixed bug where `GaugeChart` changing `splitNumber` with code does not refresh `label` #167
## v2.4.0
Highlights:
* LineChart support the line of ignore data is disconnected or connected
* LineChart support animation at a constant speed
* Other optimizations and bug fixes
Details:
* (2021.08.31) Release `v2.4.0` version
* (2021.08.31) Optimized the gradient effect of `RingChart`
* (2021.08.31) Fixed bug where `SerieLabel` does not refresh when `DataZoom` is dragged (#165)
* (2021.08.25) Fixed an issue where the theme switch could not be save to the scene (#166)
* (2021.08.24) Added `Animation`'s `alongWithLinePath`
* (2021.08.22) Added `Serie`'s `ignoreLineBreak` (#164)
* (2021.08.22) Fixed `Axis` label may not be updated when `DataZoom` is turn on (#164)
* (2021.08.15) Improved `Axis`'s `AxisLabel` text rotate setting to avoid inconsistency offset in `DataZoom` (#163)
* (2021.08.14) Added `Legend`'s `textAutoColor` to set the text color match with `Serie` color (#163)
* (2021.08.12) Optimize `BarChart` setting `Corner` when the positive and negative columns are fillet symmetric
* (2021.08.03) Fixed y axis not displaying when all data is 0
* (2021.07.29) Fixed ignored data will also participate in calculations when `ignore` is enabled (#161)
* (2021.07.29) Improved `BarChart`'s `Zebra` gradient support
* (2021.07.26) Fixed issue where `XCharts` path could not be found when `TextMeshPro Enable` (#160)
## v2.3.0
### Main points
Highlights:
* Data store upgraded from `float` to `double`
* Added `MarkLine`
@@ -82,11 +555,11 @@
* `PieChart` optimization
* Problem fixes
### Upgrade Note
Upgrade Note:
Since the data type is upgraded to `double`, the implicit conversion of `float` to `double` may have precision problems, so it is recommended that all previous data types of `float` be manually changed to `double`.
* Since the data type is upgraded to `double`, the implicit conversion of `float` to `double` may have precision problems, so it is recommended that all previous data types of `float` be manually changed to `double`.
### Details
Details:
* (2021.07.24) Release `v2.3.0` version
* (2021.07.22) Improved `SerieSymbol` to support `PictorialBarchart` extension
@@ -104,7 +577,7 @@ Since the data type is upgraded to `double`, the implicit conversion of `float`
* (2021.06.27) Added `DataZoom`'s `orient` parameter to set horizontal or vertical styles
* (2021.06.21) Added `iconStyle`'s `AutoHideWhenLabelEmpty` to set whether the icon is automatically hidden when `label` is empty
# # v2.2.3
## v2.2.3
* (2021.06.20) Release `v2.2.3` version
* (2021.06.20) Fixed the default display of `Icon` in `Axis`
@@ -237,7 +710,7 @@ Since the data type is upgraded to `double`, the implicit conversion of `float`
## v1.6.0
* (2020.08.24) Release `v1.6.0` version
* (2020.08.23) Refactor code, replace `Color` with `Color32` for reduce implicit conversion (Can cause custom colors to lose, reference [FAQ 29](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation/XChartsFAQ-ZH.md) to upgrade)
* (2020.08.23) Refactor code, replace `Color` with `Color32` for reduce implicit conversion (Can cause custom colors to lose, reference [FAQ 29](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation~/fqa.md) to upgrade)
* (2020.08.15) Optimized `PieChart` drawing performance effect #85
* (2020.08.11) Added `LiquidChart` data change animation#83
* (2020.08.11) Optimized `PieChart` text stack and lead line effects#85
@@ -312,7 +785,7 @@ Since the data type is upgraded to `double`, the implicit conversion of `float`
* (2020.04.19) 优化`LineChart`折线图的区域填充渐变效果
* (2020.04.19) 增加`AxisLabel``onZero`参数可将`Label`显示在`0`刻度上
* (2020.04.19) 增加`Serie``AxisLabel``showAsPositiveNumber`参数将负数数值显示为正数
* (2020.04.18) 增加`Covert XY Axis`互换XY轴配置
* (2020.04.18) 增加`Convert XY Axis`互换XY轴配置
* (2020.04.17) 增加`Axis`可通过`inverse`参数设置坐标轴反转
* (2020.04.16) 修复`Check warning``Unity2019.3`上的显示问题
* (2020.04.16) 修复`PieChart`在设置`Space`参数后动画绘制异常的问题

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,5 @@
# XCharts FAQ
[XCharts Homepage](https://github.com/XCharts-Team/XCharts)</br>
[XCharts API](XChartsAPI-EN.md)</br>
[XCharts Configuration](XChartsConfiguration-EN.md)
[QA 1: How to adjust the margin between the axis and the background?](#How-to-adjust-the-margin-between-the-axis-and-the=-background)
[QA 2: How to play agian the fadeIn animation?](#How-to-play-agian-the-fadeIn-animation)
[QA 3: How to customize the color of data item in line chart and pie chart?](#How-to-customize-the-color-of-data-item-in-line-chart-and-pie-chart)
@@ -144,7 +140,3 @@ A: This is the limit of `UGUI` on the number of vertices for a single `Graphic`.
## Why-are-the-parameters-set-in-Serie-reset-after-they-run
A: Check whether `RemoveData()` and add new `Serie` in the code. If you want to keep the configuration of `Serie`, you can only `ClearData()` which just clear data and then readd the data to the old serie.
[XCharts Homepage](https://github.com/XCharts-Team/XCharts)</br>
[XCharts API](XChartsAPI-EN.md)</br>
[XCharts Configuration](XChartsConfiguration-EN.md)

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

View File

@@ -0,0 +1,275 @@
---
title: Introductory tutorial: Get started with XCharts 3.0 in 5 minutes
sidebar_position: 11
slug: /tutorial01
---
# Tutorial: Get started with XCharts 3.0 in 5 minutes
> Note: This tutorial is for XCharts 3.x version only
## What do I need to know before using XCharts
- Have used Unity, know the basic operation of Unity.
- Understand UGUI and can use UGUI.
- Understand MonoBehavior script usage in Unity, know how to hang scripts, manipulate scripts with code.
## Get and import XCharts
XCharts can be imported into a project in any of the following ways:
- Source XCharts directly into the project
After downloading the XCharts source code, copy the XCharts directory directly to the Assets directory of the Unity project.
- Import XCharts through `Assets/Import Package`
After downloading the.unitypackage file for XCharts, open Unity and go to the menu bar Assets--&gt; Import Package--&gt; Select.unitypackage import to start using XCharts.
- Import XCharts through the Package Manager
For Unity 2018.3 and later, XCharts can be imported through the Package Manager. After opening the Package Manager, run the `Add package form git URL...`, input XCharts dead simple URL: ` https://github.com/XCharts-Team/XCharts.git use XCharts after ` wait a moment.
You can also add the package directly to the manifest.json file: Open the manifest.json file in the Packages directory and add it under dependencies:
``` json
"com.monitor1394.xcharts" : "https://github.com/XCharts-Team/XCharts.git",
```
To update XCharts, remove com.monitor1394.xcharts from the manifest.json file under lock (some versions of Unity may be packages-lock.json) and re-download and compile.
- Recommended daemon into XCharts (not required)
[XCharts Daemon](https://github.com/XCharts-Team/XCharts-Daemon) can ensure update compilation is normal, when the local open TextMeshPro or NewInputSystem would be very useful. After importing Xchart-daemon into a project, when updating XCharts, the Daemon will automatically refresh asmdef according to the status of local TMP, etc., to ensure normal compilation and facilitate the execution of automated processes such as CI-CD.
## Add a simple chart
Right-click in `Hierarchy` view or menu bar `GameObject` drop down and select `XCharts->LineChart`, can quickly create a default line chart out:
![linechart1](img/tutorial01_linechart1.png)
## Add multiple Seire
In the Inspector view, locate LineChart's panel, and with the `Add Serie` button, you can add a second Line line:
![op_addserie](img/tutorial01_addserie.png)
![linechart2](img/tutorial01_linechart2.png)
## Add other components
The default chart does not have a `Legend`, and a `Legend` Component can be added via the `Add Component` button:
![op_addcomponent](img/tutorial01_addcomponent.png)
## Add Serie components
Serie comes with only a few common components, and others are added as needed. For example, if you need to fill a line chart area with color, you can add a separate `AreaStyle` component to Serie:
![op_addseriecomponent](img/tutorial01_addseriecomponent.png)
![linechart3](img/tutorial01_linechart3.png)
## Add the SerieData component
If you need to personalize the configuration of each data item, you can add a Component to each SerieData separately. For example, we give the second data of the line chart a separate display `Label`:
![op_addseriedatacomponent](img/tutorial01_addseriedatacomponent.png)
![linechart4](img/tutorial01_linechart4.png)
## More components and configuration parameters
XCharts has been iteratively optimized and now has dozens of main and sub-components, each with a few to dozens of configurable parameters to support a variety of flexible and complex functions.
Using XCharts for the first time, you can add various charts in the `Inspector` view, add or adjust the components in the chart, and the `Game` view gives real-time feedback on the effects of adjustments to familiarize yourself with the use of various components. Detailed parameter descriptions of each component can be found in the [XCharts Configuration](Configuration.md).
## How to adjust parameters quickly
XCharts is configuration and data driven. Want what effect, only need to adjust the configuration parameters under the corresponding component can be, do not need to change the nodes under the `Hierarchy` view, because those nodes are generated by the `XCharts` internal according to the configuration and data, even if changed will be restored in the refresh.
How to quickly locate the component corresponding to the effect you want to change requires a certain understanding of the component. For example, if we want to show an arrow at the end of the X-axis, how do we position it? First, position the X-axis to `XAxis0`; Second, locate the axis to `AxisLine`; Finally, check to see if there are any parameters in the AxisLine component that can achieve this effect, and check [XCharts configuration](Configuration.md) for uncertain parameters.
`XCharts` provides a full range of parameter configuration from the global` Theme `, series` Serie `, and single data item `SerieData`. The priority in descending order is: `SerieData` -> `Serie` -> `Theme`. Take the color of `ItemStyle` for example:
1. If the `ItemStyle` of `SerieData` has a color value other than `0000`, this color value is preferred.
2. If the ItemStyle of `Serie` is configured with a color value other than `0000`, this color value takes precedence.
3. Otherwise, the Color value is taken from the Color Palette of the Theme.
Usually, `0000` indicates the theme default color, and 0 or null indicates the theme default.
## Add line charts with code
Attach the `LineChart` script to the gameObject:
```csharp
var chart = gameObject.GetComponent<LineChart>();
if (chart == null)
{
chart = gameObject.AddComponent<LineChart>();
chart.Init();
}
```
Resize:
```csharp
chart.SetSize(580, 300);//代码动态设置尺寸或直接操作chart.rectTransform或直接在Inspector上改
```
Set the title:
```csharp
var title = chart.EnsureChartComponent<Title>();
title.text = "Simple Line";
```
Set whether prompt boxes and legends are displayed:
```csharp
var tooltip = chart.EnsureChartComponent<Tooltip>();
tooltip.show = true;
var legend = chart.EnsureChartComponent<Legend>();
legend.show = false;
```
Set axes:
```csharp
var xAxis = chart.EnsureChartComponent<XAxis>();
xAxis.splitNumber = 10;
xAxis.boundaryGap = true;
xAxis.type = Axis.AxisType.Category;
var yAxis = chart.EnsureChartComponent<YAxis>();
yAxis.type = Axis.AxisType.Value;
```
Clear default data and add `Line` type `Serie` for receiving data:
```csharp
chart.RemoveData();
chart.AddSerie<Line>("line");
```
Add 10 data:
```csharp
for (int i = 0; i < 10; i++)
{
chart.AddXAxisData("x" + i);
chart.AddData(0, Random.Range(10, 20));
}
```
So a simple line chart comes out:
![tutorial01_linechart_simple](img/tutorial01_linechart_simple.png)
If there are multiple series in a Chart, the data of Axis only needs to be added once, rather than repeated in multiple cycles. Remember: the number of data in Axis should be the same as the number in Serie.
See `Examples`: `Example13_LineSimple.cs` for the complete code
You can also use code to control more parameters, there are more Examples under `Examples`, all the configurable parameters seen in the `Inspector` can be set by code. All parameters in [XCharts configuration](Configuration.md) can be controlled by code.
In addition, unless customized, it is recommended to call the `public` interface provided under `Chart`, especially in the data-related operations section. These interfaces do some associated processing inside, such as refreshing charts. Common interfaces are:
1. `Chart.ClearData()` : Clear chart data (without removing Series)
2. `Chart.RemoveData()` : Clear chart data (will remove all Serie)
3. `chart.AddSerie()` : AddSerie
4. `chart.AddXAxisData()` : Add X-axis data
5. `chart.AddData()` : Adds Serie data
6. `chart.UpdateData()` : Updates Serie data
7. `chart.UpdateXAxisData()` : Updates the X-axis data
8. `chart.UpdateDataName()` : Updates the Serie data name
XCharts has an automatic refresh mechanism inside, but it only triggers under certain conditions. If you call the interface of the internal component, encounter the component did not refresh, and indeed can not find the reason, you can use the following two interfaces to force refresh:
1. `chart.RefreshAllComponent()` : refresh chart component, to initialize all of the components, often is not recommended.
2. `chart.RefreshChart()` : refreshes the chart drawing, only the drawing part is refreshed, and the component text, position, etc., is not refreshed.
3. Individual components can also refresh only themselves by `SetAllDirty()`.
## Use TextMeshPro
XCharts supports TextMeshPro, but it is disabled by default and needs to be switched manually. It can be turned on and off in the following ways:
![textmeshpro1](img/tutorial01_textmeshpro.png)
After opening, you need to set the global font used by TextMeshPro, or you can set it separately in the Theme:
![textmeshpro-font](img/tutorial01_textmeshpro_font.png)
It is recommended to plan whether to use TextMeshPro at the beginning of the project and set the font. When switching TMP with many existing charts, some charts may not refresh automatically. You can manually click the `Rebuild Chart Object` button to rebuild the chart, which can be initialized normally.
When updating XCharts for TMP projects, you may encounter problems with missing TMP references and failing to compile. These problems can be solved in one of two ways:
1. Find `XCharts.Runtime.asmdef` and `XCharts.Editor.asmdef` and manually add references to `TextMeshPro`
2. Remove the `dUI_TextMeshPro` macro for Scripting Define Symbols in PlayerSetting
Version `3.8.0` after adding daemon[XCharts - Daemon](https://github.com/XCharts-Team/XCharts-Daemon), will be XCharts-Daemon import project, When updating XCharts, the daemon automatically refreshes the asmdef based on the locally enabled TMP to ensure proper compilation.
## Change chart parameters with code
All parameters seen on Inspector can be modified with code, the key is to identify whether the parameters you want to change are on the component, on the Serie, or on the specific data item SerieData.
### Change the parameters on the main component
You need to obtain the component first, and then modify the parameters in it:
```csharp
var title = chart.EnsureChartComponent<Title>();
title.text = "Simple LineChart";
title.subText = "normal line";
var xAxis = chart.EnsureChartComponent<XAxis>();
xAxis.splitNumber = 10;
xAxis.boundaryGap = true;
xAxis.type = Axis.AxisType.Category;
```
> Note: When the earlier version does not have the EnsureChartComponent() interface, GetOrAddChartComponent() is used.
### Change Serie parameters
For newly added Serie:
```csharp
var serie = chart.AddSerie<Pie>();
serie.center[0] = 0.5f;
serie.center[1] = 0.5f;
serie.radius[0] = 80;
serie.radius[1] = 90;
serie.animation.dataChangeEnable = true;
serie.roundCap = true;
```
For existing Serie:
```csharp
var serie = chart.GetSerie<Pie>();
serie.center[0] = 0.5f;
serie.center[1] = 0.5f;
serie.radius[0] = 80;
serie.radius[1] = 90;
serie.animation.dataChangeEnable = true;
serie.roundCap = true;
```
Add additional components to Serie:
```csharp
serie.EnsureComponent<AreaStyle>();
var label = serie1.EnsureComponent<LabelStyle>();
label.offset = new Vector3(0,20,0);
```
### Change the parameter on the data item SerieData
```csharp
var serieData = chart.AddData(0, 20);
//var serieData = serie.GetSerieData(0); //从已有数据中获取
serieData.radius = 10;
var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
itemStyle.color = Color.blue;
```

View File

View File

@@ -0,0 +1 @@
{}

3266
Documentation~/zh/api.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,64 +1,460 @@
---
sidebar_position: 61
slug: /changelog
---
# 更新日志
[master](#master)
[v3.0.1](#v3.0.1)
[v3.0.0](#v3.0.0)
[v3.0.0-preivew9](#v3.0.0-preivew9)
[v3.0.0-preivew8](#v3.0.0-preivew8)
[v3.0.0-preivew7](#v3.0.0-preivew7)
[v3.0.0-preivew6](#v3.0.0-preivew6)
[v3.0.0-preivew5](#v3.0.0-preivew5)
[v3.0.0-preivew4](#v3.0.0-preivew4)
[v3.0.0-preivew3](#v3.0.0-preivew3)
[v3.0.0-preivew2](#v3.0.0-preivew2)
[v3.0.0-preivew1](#v3.0.0-preivew1)
[v2.7.0](#v2.7.0)
[v2.6.0](#v2.6.0)
[v2.5.0](#v2.5.0)
[v2.4.0](#v2.4.0)
[v2.3.0](#v2.3.0)
[v2.2.3](#v2.2.3)
[v2.2.2](#v2.2.2)
[v2.2.1](#v2.2.1)
[v2.2.0](#v2.2.0)
[v2.1.1](#v2.1.1)
[v2.1.0](#v2.1.0)
[v2.0.1](#v2.0.1)
[v2.0.0](#v2.0.0)
[v2.0.0-preview.2](#v2.0.0-preview.2)
[v2.0.0-preview.1](#v2.0.0-preview.1)
[v1.6.3](#v1.6.3)
[v1.6.1](#v1.6.1)
[v1.6.0](#v1.6.0)
[v1.5.2](#v1.5.2)
[v1.5.1](#v1.5.1)
[v1.5.0](#v1.5.0)
[v1.4.0](#v1.4.0)
[v1.3.1](#v1.3.1)
[v1.3.0](#v1.3.0)
[v1.2.0](#v1.2.0)
[v1.1.0](#v1.1.0)
[v1.0.5](#v1.0.5)
[v1.0.4](#v1.0.4)
[v1.0.3](#v1.0.3)
[v1.0.2](#v1.0.2)
[v1.0.1](#v1.0.1)
[v1.0.0](#v1.0.0)
[v0.8.3](#v0.8.3)
[v0.8.2](#v0.8.2)
[v0.8.1](#v0.8.1)
[v0.8.0](#v0.8.0)
[v0.5.0](#v0.5.0)
[v0.1.0](#v0.1.0)
[v3.9.0](#v390)
[v3.8.1](#v381)
[v3.8.0](#v380)
[v3.7.0](#v370)
[v3.6.0](#v360)
[v3.5.0](#v350)
[v3.4.0](#v340)
[v3.3.0](#v330)
[v3.2.0](#v320)
[v3.1.0](#v310)
[v3.0.1](#v301)
[v3.0.0](#v300)
[v3.0.0-preivew9](#v300-preivew9)
[v3.0.0-preivew8](#v300-preivew8)
[v3.0.0-preivew7](#v300-preivew7)
[v3.0.0-preivew6](#v300-preivew6)
[v3.0.0-preivew5](#v300-preivew5)
[v3.0.0-preivew4](#v300-preivew4)
[v3.0.0-preivew3](#v300-preivew3)
[v3.0.0-preivew2](#v300-preivew2)
[v3.0.0-preivew1](#v300-preivew1)
[v2.8.1](#v281)
[v2.8.0](#v280)
[v2.7.0](#v270)
[v2.6.0](#v260)
[v2.5.0](#v250)
[v2.4.0](#v240)
[v2.3.0](#v230)
[v2.2.3](#v223)
[v2.2.2](#v222)
[v2.2.1](#v221)
[v2.2.0](#v220)
[v2.1.1](#v211)
[v2.1.0](#v210)
[v2.0.1](#v201)
[v2.0.0](#v200)
[v2.0.0-preview.2](#v200-preview2)
[v2.0.0-preview.1](#v200-preview1)
[v1.6.3](#v163)
[v1.6.1](#v161)
[v1.6.0](#v160)
[v1.5.2](#v152)
[v1.5.1](#v151)
[v1.5.0](#v150)
[v1.4.0](#v140)
[v1.3.1](#v131)
[v1.3.0](#v130)
[v1.2.0](#v120)
[v1.1.0](#v110)
[v1.0.5](#v105)
[v1.0.4](#v104)
[v1.0.3](#v103)
[v1.0.2](#v102)
[v1.0.1](#v101)
[v1.0.0](#v100)
[v0.8.3](#v083)
[v0.8.2](#v082)
[v0.8.1](#v081)
[v0.8.0](#v080)
[v0.5.0](#v050)
[v0.1.0](#v010)
## master
## v3.9.0
版本要点:
* 增加`Axis``Animation`,完善数据变更动画效果
* 增加`Axis`的对数轴子刻度的支持
* 增加`MarkLine``onTop`设置是否显示在最上层
* 完善代码注释和手册文档
* 修复若干问题
扩展功能:
* `UITable`增加轮播功能
* `UITable`增加数据操作接口和回调函数
* `Pie3DChart`优化绘制表现
日志详情:
* (2023.12.01) 修复`Tooltip``titleFormatter`设置为`{b}`后显示不准确的问题
* (2023.11.30) 增加`SerieData`可单独添加`Label`的支持
* (2023.11.28) 修复`Tooltip`在对数轴时指示不准确的问题
* (2023.11.24) 修复`Chart``UpdateData()`接口返回值不准确的问题
* (2023.11.24) 修复`Axis`的更新数据时效果不顺畅的问题
* (2023.11.23) 增加`Axis``Animation`支持动画效果
* (2023.11.16) 取消`Legend``formatter`,用`LabelStyle`的代替
* (2023.11.14) 完善`LabelStyle``formatter`的注释和文档(#291)
* (2023.11.11) 修复`Documentation`部分注释生成文档不完整的问题 (#290)
* (2023.11.11) 修复`Legend``formatter`在数据变更时没有自动刷新的问题
* (2023.11.05) 修复`SerieEventData``value`一直是0的问题 (#287)
* (2023.11.03) 修复`Bar`设置渐变色时鼠标移出效果异常的问题 (#285)
* (2023.11.02) 优化`SerieData`设置`ignore``formatter`的忽略问题
* (2023.11.01) 增加`MarkLine``onTop`设置是否显示在最上层
* (2023.10.21) 修复`Pie`有0数据时`Label`的位置异常的问题
* (2023.10.21) 增加`Axis`的对数轴支持子刻度
* (2023.10.19) 修复`Pie`设置玫瑰图时引导线异常的问题
* (2023.10.15) 修复`Line`设置`Animation``AlongPath`时动画异常的问题 (#281)
* (2023.10.12) 修复`MarkLine`指定`yValue`时对数值轴无效的问题
* (2023.10.11) 修复`Serie``showDataDimension`设置无效的问题
## v3.8.1
* (2023.10.02) 发布`v3.8.1`版本
* (2023.09.29) 修复`Bar`在水平方向时`Label`设置为`Bottom`不生效的问题
* (2023.09.22) 增加`Line`的平滑曲线对`Dash`虚线的支持
* (2023.09.16) 修复`Tooltip`在类目轴无数据时异常报错的问题 (#279)
* (2023.09.16) 修复`Pie`无数据时绘制异常的问题 (#278)
* (2023.09.12) 增加`Pie``radiusGradient`可设置半径方向的渐变效果
* (2023.09.05) 优化`LabelLine``lineEndX``Pie`中的表现
* (2023.09.05) 修复`TriggerTooltip()`接口对`Ring`无效的问题
* (2023.09.05) 修复`Radar`数据全为0时绘制报错的问题
## v3.8.0
版本要点:
* 重构`Animation`动画系统,增加`新增动画``交互动画`的支持
* 完善`PieChart`的动画交互表现
* 增加`Symbol``EmptyTriangle``EmptyDiamond``Plus``Minus`四种新标记
* 完善`Chart`的鼠标交互回调
* 增加`LabelLine`可固定横坐标的功能
* 增加`GridLayout`网格布局组件
* 增加`Tooltip``Auto`类型
* 优化和修复若干其他问题
日志详情:
* (2023.09.03) 发布`v3.8.0`版本
* (2023.09.01) 增加`Tooltip``Auto`自动设置显示类型和触发类型
* (2023.08.29) 增加`Ring``gridIndex`支持设置指定网格
* (2023.08.29) 增加`Radar``gridIndex`支持设置指定网格
* (2023.08.29) 增加`Pie``gridIndex`支持设置指定网格
* (2023.08.29) 增加`GridLayout`网格布局组件用于管理多个`GridCoord`的布局
* (2023.08.25) 修复`MarkLine`多个时只显示一个`Label`的问题
* (2023.08.25) 修复`MarkLine`在开启`Clip`后还绘制在坐标系外的问题
* (2023.08.24) 优化`YAxis`在数据全为0时默认设置0-1的范围
* (2023.08.23) 修复`YAxis``Label`可能会重复的问题
* (2023.08.22) 修复`Bar`显示隐藏时绘制表现异常的问题
* (2023.08.22) 优化`Zebra`斑马柱图的绘制表现 (#276)
* (2023.08.16) 增加`Daemon`守护程序解决本地开启TMP后更新版本报错问题
* (2023.08.15) 修复`Data`数据在-1到1之间时坐标轴显示错误的问题 (#273) (by **Ambitroc**)
* (2023.08.14) 修复`XCharts`本地开启`TextMeshPro``NewInputSystem`后更新版本会报错的问题 (#272)
* (2023.08.12) 修复`Chart`在运行时被删除时会异常报错的问题 (#269)
* (2023.08.11) 修复`DataZoom`开启时可能会导致无法添加数据的问题
* (2023.08.11) 修复`SerieData`单独设置`ItemStyle``itemFormatter`不生效的问题
* (2023.08.10) 优化`BarChart``Tooltip``Trigger``Item`时的表现
* (2023.08.09) 增加`Axis`可通过设置`IconStyle``color``clear`来实现动态图标颜色的支持
* (2023.08.08) 增加`Pie``LabelLine``lineEndX`的支持
* (2023.08.05) 整理`Examples`的代码,删除不必要的用例
* (2023.08.04) 增加`LabelLine``lineEndX`可设置引导线固定X位置的支持
* (2023.08.04) 增加`Ring``avoidLabelOverlap`避免文本堆叠的支持 (#247)
* (2023.08.03) 完善`Chart``onSerieEnter``onSerieExit``onSerieClick`回调
* (2023.08.02) 修复`BarChart``onSerieEnter``onSerieExit`回调无效的问题
* (2023.08.02) 增加`Symbol``Plus`加号和`Minus`减号的支持
* (2023.07.31) 增加`Symbol``EmptyTriangle``EmptyDiamond`的支持,优化`Symbol`表现效果
* (2023.07.31) 优化`Line`的默认配置效果
* (2023.07.27) 增加`Serie``minRadius`可设置最小半径
* (2023.07.26) 增加`MLValue`多样式数值
* (2023.07.25) 增加`XLog`日志系统
* (2023.07.18) 完善`Pie`饼图的交互动画效果
* (2023.07.14) 增加`Animation``Interaction`交互动画配置支持
* (2023.07.11) 增加`Animation``Addition`新增动画配置支持
* (2023.07.11) 重构`Animation`动画系统,完善动画体验
* (2023.06.30) 增加`PolarCood``indicatorLabelOffset`设置指示文本偏移的支持
* (2023.06.30) 修复`Axis``IndicatorLabel`的背景颜色可能不正常的问题
* (2023.06.30) 增加`Axis``IndicatorLabel`可自定义`color`的支持
* (2023.06.12) 修复`AxisLabel``formatterFunction`在数值轴时`value`不对的问题
## v3.7.0
版本要点:
* 增加`HelpDoc`官网帮助文档跳转
* 增加`Line``Clip`的支持
* 优化`Axis`的范围设置
* 其他优化和修复
日志详情:
* (2023.06.08) 发布`v3.7.0`版本
* (2023.06.04) 增加`HelpDoc`帮助文档跳转
* (2023.05.30) 修复`Serie`的名字带`_`线导致`Legend`无法触发的问题 (#259) (by **svr2kos2**)
* (2023.05.10) 增加`Axis``MinMaxAuto`范围类型
* (2023.05.10) 增加`Line``Clip`的支持
* (2023.05.04) 优化`Axis`在-1到1范围时设置`CeilRate`不生效的问题
* (2023.05.04) 优化`Axis``MinMax`类型范围计算
* (2023.05.04) 修复`AxisLabel`在数据都是小于1的浮点数时显示`Label`格式不对的问题
* (2023.05.04) 修复`Theme`在修改默认主题的参数后运行被重置的问题
* (2023.05.04) 增加`Symbol`选择`Custom`类型时的`Warning`提示
* (2023.04.15) 修复`DataZoom`在多个图表时可能异常的问题 (#252)
* (2023.04.14) 修复`Tooltip`在只有一个数据时可能异常的问题
* (2023.04.14) 增加`BaseChart``TriggerTooltip()`接口尝试触发`ToolTip`
* (2023.04.12) 优化`RadarCood`设置`startAngle`时文本也跟随调整位置
* (2023.04.12) 增加`Radar`对通配符`{b}`的支持
* (2023.04.11) 修复`Inspector`在动态添加组件时可能异常的问题
## v3.6.0
版本要点:
* 增加`InputSystem`支持 (by **Bian-Sh**)
* 增加官网[在线示例](https://xcharts-team.github.io/examples/)多版本支持 (by **SHL-COOL**)
* 完善对`VR`的支持 (by **Ambitroc**)
* 增加`UITable``UIStatistic`等[扩展UI组件](https://xcharts-team.github.io/docs/ui)
* 增加`ItemStyle``MarkColor`
* 增加通配符`{h}`的支持
* 优化`Tooltip``Legend``DataZoom``Axis`等组件
* 重构相关`API`接口,完善回调接口
* 修复若干问题
升级注意:
* 部分接口有调整,可根据提示更换下接口即可。
日志详情:
* (2023.04.01) 发布`v3.6.0`版本
* (2023.03.14) 修复`Tooltip``titleFormater`设置`{b}`可能不生效的问题
* (2023.03.14) 修复`BarChart`在数据为0时不绘制柱条背景的问题 (#250) (by **Ambitroc**)
* (2023.03.12) 增加`LabelStyle``autoRotate`可设置有角度的竖版文本的自动旋转
* (2023.03.10) 增加`VR`等其他非鼠标输入方式的Point位置获取 (#248) (by **Ambitroc**)
* (2023.03.09) 增加`Chart``onSerieClick``onSerieDown``onSerieEnter``onSerieExit`回调
* (2023.03.09) 修复`Pie`的点击选中偏移不生效的问题
* (2023.03.04) 增加`Legend``Positions`可自定义图例的位置
* (2023.03.03) 修复`Animation`变更动画可能无效的问题
* (2023.02.28) 修复`Legend`点击时`Serie``Label`不刷新的问题
* (2023.02.26) 增加`DataZoom``startEndFunction`委托
* (2023.02.12) 重构`Component`相关代码调整API接口
* (2023.02.10) 修复`Axis``Log`轴时某些情况下最小值不正确的问题
* (2023.02.10) 优化`Axis`的数值`Label`的默认显示格式
* (2023.02.08) 增加`DataZoom``startLock``endLock`参数支持锁定
* (2023.02.02) 修复`DataZoom`开启时`X轴``Label`可能会显示在图表外的问题
* (2023.02.02) 优化`SerieData``ignore`设置时的忽略数据判断
* (2023.02.01) 修复`XChartsMgr.ContainsChart()`接口异常
* (2023.01.31) 增加`InputSystem`的支持 (#242) (by **Bian-Sh**)
* (2023.01.11) 修复`Inspector`上移除`Component`后图表没有及时刷新的问题 (#241)
* (2023.01.06) 修复`Pie`在最后的几个数据都为0时`Label`显示不正常的问题 (#240)
* (2023.01.03) 删除`Serie``MarkColor`,增加`ItemStyle``MarkColor`
* (2022.12.29) 增加`Editor``List``+`添加编辑功能
* (2022.12.29) 修复`UpdateXYData()`接口影响数据精度的问题 (#238)
* (2022.12.28) 修复`Pie`只有一个数据时设置`border`后显示异常的问题 (#237)
* (2022.12.22) 调整`Covert`重命名为`Convert`,涉及的接口有:`ConvertXYAxis()``CovertSerie()`
* (2022.12.22) 修复`Convert XY Axis`后Y轴的`Label`显示异常的问题
* (2022.12.12) 修复`Axis``Value`轴在某些情况下计算数值范围不准确的问题
* (2022.12.12) 优化`Legend``formatter`支持`{h}`通配符
* (2022.12.12) 修复`Legend``formatter`设置为固定值时显示不正常的问题
* (2022.12.08) 增加`AreaStyle``toTop`参数可设置折线图渐变色是到顶部还是到实际位置
* (2022.12.07) 增加`Formatter`的文本通配符`{h}`支持设置当前颜色值
## v3.5.0
版本要点:
* 调整文档结构,增加[XCharts官方主页](https://xcharts-team.github.io)
* 增加DataZoom框选支持
* 增加Bar的最大宽度设置支持
* 其他优化
升级注意:
* 由于调整了文档目录结构升级前建议先备份再删除原XCharts后再升级
日志详情:
* (2022.12.01) 发布`v3.5.0`版本
* (2022.11.30) 增加`Serie``barMaxWidth`可设置`Bar`的最大宽度
* (2022.11.30) 优化`Tooltip``Shadow`绘制不超出图表范围
* (2022.11.29) 修复`Tooltip`指示的`Serie`数据项索引异常的问题
* (2022.11.27) 优化`Axis``AxisName`的偏移设置
* (2022.11.27) 优化`Comment`的位置,用`Location代替Position`
* (2022.11.27) 优化`Tooltip``LineStyle`支持设置`Shadow`时的颜色
* (2022.11.27) 调整`Documentation`文档结构
* (2022.11.26) 优化`LabelLine``symbol`默认不显示
* (2022.11.26) 修复`LineChart``XY`都为数值轴时添加无序数据显示异常的问题
* (2022.11.26) 修复`DataZoom`从右往左框选时异常的问题
* (2022.11.20) 调整`UdpateXAxisIcon()`接口重命名为`UpdateXAxisIcon()` (#235)
* (2022.11.12) 增加`Pie``LabelLine`支持`Symbol`
* (2022.11.12) 增加`DataZoom``MarqueeStyle`支持框选区域
* (2022.11.10) 优化`Radar`在类型为`Single`时的区域颜色填充效果
* (2022.11.04) 修复`Tooltip``itemFormatter`设置通配符`{d}`后异常的问题
## v3.4.0
版本要点:
* 增加`Axis``indicatorLabel`,可单独设置不同的指示文本样式
* 增加`Serie``markColor`可设置标识颜色
* 增加`RadarCoord``startAngle`可设置`Radar`起始角度
* 优化`Axis`的数值间隔表现
* 增加`DataZoom`对数值轴的支持
* 增加`Line``SmoothLimit`可控制平滑曲线不同效果
日志详情:
* (2022.11.01) 发布`v3.4.0`版本
* (2022.10.30) 增加`API``AddData()``ClearSerieData()``ClearComponentData()`
* (2022.10.30) 增加`Axis``indicatorLabel`,移除`Tooltip``indicatorLabelStyle` (#226)
* (2022.10.29) 增加`Serie``markColor`可设置标识颜色用于`Legend``Tooltip`的展示 (#229)
* (2022.10.26) 增加`RadarCoord``startAngle`可设置`Radar`起始角度
* (2022.10.21) 修复`Chart`在受`Layout`控制时`Label`显示不正常的问题 (#231)
* (2022.10.21) 修复`Unity2019.2`上的兼容问题
* (2022.10.18) 优化`Axis`的数值表现
* (2022.10.15) 修复`Axis``Label``DataZoom`开启时可能显示不正常的问题 (#227)
* (2022.10.14) 增加`DataZoom`对数值轴的支持
* (2022.10.13) 修复`Pie`的环形饼图设置边框时效果异常的问题 (#225)
* (2022.10.13) 修复`Download`的接口造成`iOS`平台打包失败的问题
* (2022.10.12) 增加`Animation``UnscaledTime`支持设置动画是否受TimeScale的影响 (#223)
* (2022.10.10) 优化`Documentation~`文档格式
* (2022.10.10) 增加`Line``SmoothLimit`可控制平滑曲线不同效果
* (2022.10.05) 修复`Serie`隐藏时`Tooltip`还显示信息的问题
* (2022.09.30) 修复`Chart`在很小尺寸时出现`DivideByZeroException`异常的问题 (#230)
## v3.3.0
版本要点:
* 优化图表细节,支持更多功能
* 增加大量的Demo示例
* 完善文档,修复若干问题
* 新增PolarChart对Bar、Heatmap的支持
* 新增HeatmapChart热力图类型
* 完善Tooltip显示
日志详情:
* (2022.09.28) 发布`v3.3.0`版本
* (2022.09.26) 优化`Axis`在类目轴时的默认分割段数
* (2022.09.25) 修复`API`文档中部分接口没有导出的问题
* (2022.09.24) 优化`FunnelChart`
* (2022.09.23) 优化`ParallelChart`
* (2022.09.22) 增加`SaveAsImage()`接口保存图表到图片
* (2022.09.21) 修复`InsertSerie()`接口不刷新图表的问题
* (2022.09.21) 优化`PolarChart``Line`热力图的支持
* (2022.09.20) 增加`PolarChart``Heatmap`热力图的支持
* (2022.09.19) 增加`PolarChart`对多柱图和堆叠柱图的支持
* (2022.09.16) 增加`PolarChart``Bar`柱图的支持
* (2022.09.14) 增加`PolarCoord`可通过`radius`设置环形极坐标的支持
* (2022.09.09) 修复`Editor`下编辑参数部分组件可能不会实时刷新的问题
* (2022.09.08) 增加`RingChart`可设置`LabelLine`引导线的支持
* (2022.09.06) 增加`SerieSymbol``minSize``maxSize`参数设置最大最小尺寸的支持
* (2022.09.06) 增加`AxisSplitLine``showStartLine``showEndLine`参数设置是否显示首位分割线的支持
* (2022.09.06) 增加`Heatmap`通过`symbol`设置不同的图案的支持
* (2022.09.05) 增加`Heatmap``heatmapType`支持设置`Data``Count`两种不同映射方式的热力图
* (2022.09.05) 优化`Tooltip`在热力图为数值轴时的指示
* (2022.09.02) 增加`onPointerEnterPie`回调支持
* (2022.09.02) 优化`HeatmapChart`
* (2022.08.30) 优化`RadarChart`
* (2022.08.30) 修复`DataZoom`在某些情况下计算范围不准确的问题 (#221)
* (2022.08.29) 优化`BarChart`在数据过密时的默认表现
* (2022.08.29) 优化`YAxis`在开启`DataZoom`时的最大最小值计算
* (2022.08.29) 优化`CandlestickChart`大量数据绘制
* (2022.08.28) 修复`LineChart`在堆叠和自定义Y轴范围的情况下显示不正常的问题
* (2022.08.26) 增加`Legend`新图标类型`Candlestick`
* (2022.08.26) 优化`CandlestickChart`表现,调整相关的`AddData()`接口参数
* (2022.08.26) 增加`Tooltip``position`参数支持设置移动平台不同的显示位置
* (2022.08.26) 删除`Tooltip``fixedXEnable``fixedYEnable`参数
* (2022.08.25) 优化`EmphasisStyle``label`的支持
* (2022.08.25) 增加`formatter``{d3}`指定维度数据百分比的支持
* (2022.08.24) 修复`ScatterChart``label`不刷新的问题
* (2022.08.24) 修复`MarkLine``label`某些情况下显示异常的问题
## v3.2.0
版本要点:
* `Serie`支持高亮,淡出和选中三状态配置:`EmphasisStyle`,`BlurStyle``SelectStyle`
* `Axis`支持坐标轴次刻度和次分割线:`MinorTick``MinorSplitLine`
* `Serie`支持不同的取色策略:`colorBy`
* `Radar`支持平滑曲线:`smooth`
* `Line`支持当作凸多边形填充:`AreaStyle``innerFill`
* `DataZoom`支持时间轴
* 其他优化和修复
日志详情:
* (2022.08.16) 发布`v3.2.0`版本
* (2022.08.15) 优化`Smooth`贝塞尔曲线算法
* (2022.08.13) 修复`DataZoom`组件开启时图表显示效果可能不正确的问题
* (2022.08.11) 优化`Tooltip`支持`ignoreDataDefaultContent`
* (2022.08.10) 修复`Chart`在3D相机下部分组件显示异常的问题
* (2022.08.10) 修复`RemoveSerie()`接口不生效的问题 (#219)
* (2022.08.10) 优化`Theme`的字体同步操作
* (2022.08.10) 优化`Chart`的默认`layer`设置为`UI`
* (2022.08.09) 优化`Axis``Time`时间轴的次分割线
* (2022.08.09) 增加`AreaStyle``innerFill`参数支持填充凸多边形
* (2022.08.08) 优化`Serie`的数据项索引维护,增加检测和修复功能,修复相关问题
* (2022.07.29) 修复`Unity`版本兼容:在某些版本导入后图表创建异常的问题
* (2022.07.29) 增加`Axis``Time`时间轴时,支持次刻度和次分割线
* (2022.07.28) 优化`Radar`雷达图效果
* (2022.07.28) 增加`Serie``colorBy`参数配置取色策略
* (2022.07.27) 增加`StateStyle``Symbol`用于配置状态下的标记样式
* (2022.07.27) 去掉`SerieSymbol``selectedSize`参数
* (2022.07.24) 增加`Serie``SerieData``state`设置默认状态
* (2022.07.22) 增加`Serie`的三种状态`EmphasisStyle`,`BlurStyle`,`SelectStyle`
* (2022.07.22) 去掉`AreaStyle``highlightColor``highlightToColor`参数
* (2022.07.22) 去掉`Emphasis`,`EmphasisItemStyle`,`EmphasisLabelStyle`,`EmphasisLabelLine`组件
* (2022.07.20) 增加`Since`特性对类的支持
* (2022.07.20) 修复`Axis``Value`轴时,`AxisLabel``showStartLabel``showEndLabel`参数设置不生效的问题
* (2022.07.19) 增加`Axis``MinorSplitLine`设置坐标轴次分割线
* (2022.07.19) 增加`Axis``MinorTick`设置坐标轴次刻度
* (2022.07.17) 增加`Radar``smooth`参数设置平滑曲线
* (2022.07.15) 增加`DataZoom``Time`时间轴的支持
## v3.1.0
版本要点:
* 优化`Axis`
* 优化`Tooltip`
* 优化平滑曲线算法
* 优化代码动态创建图表
* 完善配置项手册
* 修复若干问题
日志详情:
* (2022.07.12) 发布`v3.1.0`版本
* (2022.07.12) 修复`Serie``ignoreLineBreak`不生效的问题
* (2022.07.07) 优化`Axis``minMaxType`指定为`MinMax`时支持精确到小数
* (2022.07.05) 修复`Chart`里有多个坐标系时绘制异常的问题 (#210)
* (2022.07.04) 增加`Settings``axisMaxSplitNumber`参数设置`Axis`的最大分隔段数
* (2022.07.04) 修复`Axis`在设置`offset``Tick`绘制位置异常的问题 (#209)
* (2022.07.03) 优化`AxisLabel``formatterFunction`自定义委托
* (2022.07.03) 增加`AxisName``onZero`参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
* (2022.07.02) 修复`PieChart`用代码动态创建时`Legend`不正常的问题 (#206)
* (2022.07.02) 修复`YAxis``AxisLabel`设置`onZero`不生效的问题
* (2022.07.02) 修复`AxisLabel`代码设置`distance`属性后一直刷新的问题
* (2022.06.30) 修复`Runtime`下代码创建图表时组件无法初始化的问题
* (2022.06.29) 增加`Tooltip``itemFormatter`支持`{c0}`显示各维度数据 (#205)
* (2022.06.28) 优化`Pie`设置`avoidLabelOverlap`时的文本表现 (#56)
* (2022.06.25) 优化`Line`的平滑曲线表现 (#169)
* (2022.06.25) 修复`DataZoom`开启时`Tooltip`显示数据不一致的问题 (#203)
* (2022.06.25) 修复`Toolip`在类目轴无数据时绘制异常的问题 (#204)
* (2022.06.25) 优化`Serie`设置`PlaceHolder`时的`Tooltip`表现
* (2022.06.25) 增加`Since`特效用于标识配置参数从哪个版本开始支持
* (2022.06.24) 优化`Painter`绘制层,`Top`层细分为`Upper``Top`
* (2022.06.24) 增加`Legend``Background``Padding`的支持
* (2022.06.21) 增加`TextStyle``TextMeshPro``Sprite Asset`支持 (#201)
* (2022.06.20) 优化`Tooltip`的边界限制 (#202)
* (2022.06.20) 修复`TextMeshPro`开启时编译错误
* (2022.06.20) 修复`Animation`的渐出动画不生效的问题
## v3.0.1
* (2022.06.16) 发布`v3.0.1`版本
* (2022.06.16) 修复`Inspector`上部分`foldout`箭头点击无法展开的问题
* (2022.06.16) 修复`Inspector`上部分`foldout`箭头点击无法展开的问题
* (2022.06.15) 优化`Doc`自动生成,完善代码注释和配置项手册文档
* (2022.06.14) 优化`SerieLabelStyle`,支持动态调整`Icon`
* (2022.06.13) 优化`Background`背景设置
@@ -146,6 +542,29 @@
* (2022.01.07) 发布`v3.0.0-preivew1`版本
## v2.8.2
* (2022.08.15) 发布`v2.8.2`版本
* (2022.08.15) 增加`HeatmapChart`对自定义`Tooltip``formatter`的支持
* (2022.07.13) 修复`SerieLabel`刷新异常的问题 #215
* (2022.06.30) 优化`Radar``Tooltip`的层在`Indicator`之上
## v2.8.1
* (2022.05.06) 发布`v2.8.1`版本
* (2022.05.03) 增加`Legend``onLegendClick`,`onLegendEnter``onLegendExit`委托回调
* (2022.04.21) 修复`RingChart``Tooltip`异常的问题 #192
* (2022.04.21) 修复`DataZoom`设置`minShowNum`时可能会报错的问题
## v2.8.0
* (2022.04.10) 发布`v2.8.0`版本
* (2022.04.10) 增加`Debug`调试信息面板
* (2022.04.09) 修复`VisualMap`某些情况下不生效的问题
* (2022.04.08) 优化`XCharts`初始化 #190
* (2022.04.08) 修复`Radar`的颜色异常问题 #187
* (2022.03.24) 修复`Axis`的精度问题 #184
## v2.7.0
* (2022.03.20) 发布`v2.7.0`版本
@@ -180,13 +599,13 @@
## v2.4.0
### 版本要点
版本要点
* 折线图支持忽略数据的连线是断开还是连接
* 折线图支持轨迹匀速动画
* 其他优化和问题修复
### 日志详情
日志详情
* (2021.08.31) 发布`v2.4.0`版本
* (2021.08.31) 优化`RingChart`的渐变效果
@@ -205,7 +624,7 @@
## v2.3.0
### 版本要点
版本要点
* 数据存储由`float`升级为`double`
* 新增`MarkLine`标线
@@ -215,11 +634,11 @@
* `PieChart`优化
* 问题修复
### 升级注意
升级注意
由于数据类型升级为了`double``float`隐式转`double`可能有精度问题,所以建议之前为`float`的数据类型都手动改为`double`类型。
* 由于数据类型升级为了`double``float`隐式转`double`可能有精度问题,所以建议之前为`float`的数据类型都手动改为`double`类型。
### 日志详情
日志详情
* (2021.07.24) 发布`v2.3.0`版本
* (2021.07.22) 完善`SerieSymbol`以支持象形柱图`PictorialBarChart`扩展
@@ -372,7 +791,7 @@
## v1.6.0
* (2020.08.24) 发布`v1.6.0`版本
* (2020.08.23) 重构代码,将与绘制相关的`Color`改为`Color32`,减少隐式转换(更新后会导致自定义的颜色丢失,可参考[问答29](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation/XChartsFAQ-ZH.md)进行升级)
* (2020.08.23) 重构代码,将与绘制相关的`Color`改为`Color32`,减少隐式转换(更新后会导致自定义的颜色丢失,可参考[问答29](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation~/fqa.md)进行升级)
* (2020.08.15) 优化`PieChart`绘制表现效果#85
* (2020.08.11) 增加`LiquidChart`数据变更动画#83
* (2020.08.11) 优化`PieChart`文本堆叠和引线效果#85
@@ -447,7 +866,7 @@
* (2020.04.19) 优化`LineChart`折线图的区域填充渐变效果
* (2020.04.19) 增加`AxisLabel``onZero`参数可将`Label`显示在`0`刻度上
* (2020.04.19) 增加`Serie``AxisLabel``showAsPositiveNumber`参数将负数数值显示为正数
* (2020.04.18) 增加`Covert XY Axis`互换XY轴配置
* (2020.04.18) 增加`Convert XY Axis`互换XY轴配置
* (2020.04.17) 增加`Axis`可通过`inverse`参数设置坐标轴反转
* (2020.04.16) 修复`Check warning``Unity2019.3`上的显示问题
* (2020.04.16) 修复`PieChart`在设置`Space`参数后动画绘制异常的问题

File diff suppressed because it is too large Load Diff

View File

@@ -1,51 +1,55 @@
# XCharts问答
---
sidebar_position: 41
slug: /faq
---
[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI](XChartsAPI-ZH.md)
[XCharts配置项手册](XChartsConfiguration-ZH.md)
# 常见问题
[QA 1如何调整坐标轴与背景的边距](#如何调整坐标轴与背景的边距)
[QA 2如何让初始动画重新播放](#如何让初始动画重新播放)
[QA 3如何自定义折线图饼图等数据项的颜色?](#如何自定义折线图_饼图等数据项的颜色)
[QA 4如何格式化文字,如我想给坐标轴标签加上单位?](#如何格式化文字_如我想给坐标轴标签加上单位)
[QA 3如何自定义折线图饼图的颜色](#如何自定义折线图饼图的颜色)
[QA 4如何给坐标轴上的文本加上单位?](#如何给坐标轴上的文本加上单位)
[QA 5如何让柱形图的柱子堆叠显示](#如何让柱形图的柱子堆叠显示)
[QA 6如何让柱形图的柱子同柱但不重叠](#如何让柱形图的柱子同柱但不重叠)
[QA 7如何调整柱形图的柱子宽度和间距](#如何调整柱形图的柱子宽度和间距)
[QA 8如何调整柱形图单个柱子的颜色](#如何调整柱形图单个柱子的颜色)
[QA 9如何调整图表的对齐方式](#如何调整图表的对齐方式)
[QA 10可以显示超过1000以上的大数据吗](#可以显示超过1000以上的大数据吗)
[QA 11折线图可以画虚线、点线、点划线吗](#折线图可以画虚线_点线_点划线吗)
[QA 12如何限定Y轴Value轴的值范围?](#如何限定Y轴的值范围)
[QA 11折线图可以画虚线、点线、点划线吗](#折线图可以画虚线点线点划线吗)
[QA 12如何限定Y轴的值范围](#如何限定Y轴的值范围)
[QA 13如何自定义数值轴刻度大小](#如何自定义数值轴刻度大小)
[QA 14如何在数据项顶上显示文本](#如何在数据项顶上显示文本)
[QA 15如何给数据项自定义图标](#如何给数据项自定义图标)
[QA 16锯齿太严重如何让图表更顺滑](#锯齿太严重_如何让图表更顺滑)
[QA 16锯齿太严重如何让图表更顺滑](#锯齿太严重如何让图表更顺滑)
[QA 17为什么鼠标移上图表 Tooltip 不显示?](#为什么鼠标移上图表Tooltip不显示)
[QA 18如何取消 Tooltip 的竖线?](#如何取消Tooltip的竖线)
[QA 19如何自定义 Tooltip 的显示内容?](#如何自定义Tooltip的显示内容)
[QA 20如何让Y轴(数值轴)显示多位小数?](#如何让Y轴显示多位小数)
[QA 20如何让Y轴显示多位小数](#如何让Y轴显示多位小数)
[QA 21如何用代码动态更新数据](#如何用代码动态更新数据)
[QA 22如何显示图例为什么有时候图例无法显示](#如何显示图例_为什么有时候图例无法显示)
[QA 22如何显示图例为什么有时候图例无法显示](#如何显示图例为什么有时候图例无法显示)
[QA 23如何做成预设](#如何做成预设)
[QA 24如何在图表上画点画线等自定义内容](#如何在图表上画点画线等自定义内容)
[QA 25如何实现心电图类似的数据移动效果](#如何实现心电图类似的数据移动效果)
[QA 26如何使用背景组件有什么条件限制](#如何使用背景组件_有什么条件限制)
[QA 26如何使用背景组件有什么条件限制](#如何使用背景组件有什么条件限制)
[QA 27Mesh can not have more than 65000 vertices?](#Mesh_cannot_have_more_than_65000_vertices)
[QA 28为什么serie里设置的参数运行后又被重置了?](#为什么serie里设置的参数运行后又被重置了)
[QA 29如何修改Serie的Symbol的颜色?](#如何修改Serie的Symbol的颜色)
[QA 30导入或更新XCharts时TMP报错如何处理?](#导入或更新XCharts时TMP报错怎么办)
[QA 31支持空数据吗如何实现折线图断开的效果?](#支持空数据吗如何实现折线图断开的效果)
## 如何调整坐标轴与背景的边距
答:`Grid`组件,可调整上下左右边距。
答:调整`Grid`组件,可调整上下左右边距。
## 如何让初始动画重新播放
答:调用`AnimationReset()`接口。
答:调用`chart.AnimationReset()`接口。
## 如何自定义折线图_饼图等数据项的颜色
## 如何自定义折线图饼图的颜色
答:通过`Theme``colorPalette`调整,或者部分`Serie`下的`LineStyle``ItemStyle`
## 如何格式化文字_如我想给坐标轴标签加上单位
## 如何给坐标轴上的文本加上单位
答:通过`formatter``numericFormatter`参数,在`Legend``Axis``AxisLabel``Tooltop``Serie``Label`都提供该参数的配置。
@@ -67,13 +71,13 @@
## 如何调整图表的对齐方式
答:默认为左下角对齐暂不支持调整。可以通过包一层parent来辅助控制。最新版本`1.5.0`及以上已支持任意锚点可和做UI一样任意调整对其方式
答:调整RectTransform的锚点和UGUI的其他组件的用法一致
## 可以显示超过1000以上的大数据吗
答:可以。但`UGUI`对单个`Graphic`限制`65000`个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离`sampleDist`开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭`Serie``symbol``label`显示等。折线图的普通线图`Normal`比平滑线图`Smooth`占用顶点数更少。`1.5.0`以上版本可以设置`large``largeThreshold`参数来开启性能模式。
## 折线图可以画虚线_点线_点划线吗
## 折线图可以画虚线点线点划线吗
答:可以。通过`Serie`下的`lineType`选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用`Normal`或者`Step`样式。
@@ -87,13 +91,13 @@
## 如何在数据项顶上显示文本
答:通过设置`Serie`下的`Label`
答:通过设置`Serie`下的`Label`3.0版本需要先添加`LabelStyle`组件。
## 如何给数据项自定义图标
答:通过设置`Serie``data`下的数据项可单独设置`icon`相关参数。
## 锯齿太严重_如何让图表更顺滑
## 锯齿太严重如何让图表更顺滑
答:开启抗锯齿设置(在`Unity`里设置。调整UI渲染模式为`Camera`模式,开启`MSAA`,设置`4`倍或更高抗锯齿。
@@ -107,7 +111,7 @@
## 如何自定义Tooltip的显示内容
答:自定义总的内容可以通过`Tooltip``formatter`。如果只是想调整所有的`serie`的显示格式可以用`itemFormatter``titleFormatter`结合。如果想每个`serie`的显示格式不一样,可以定制`serie``itemStyle`里的`tooltipFormatter`。具体的用法请查阅[XCharts配置项手册](XChartsConfiguration-ZH.md)。
答:自定义总的内容可以通过`Tooltip``formatter`。如果只是想调整所有的`serie`的显示格式可以用`itemFormatter``titleFormatter`结合。如果想每个`serie`的显示格式不一样,可以定制`serie``itemStyle`里的`tooltipFormatter`。具体的用法请查阅[XCharts配置项手册](https://xcharts-team.github.io/docs/configuration#Tooltip-itemFormatter)。
## 如何让Y轴显示多位小数
@@ -115,15 +119,15 @@
## 如何用代码动态更新数据
答:请查阅`Example`下的代码,`Example13_LineSimple.cs`就是一个简单添加数据构建折线图的例子,其他`Demo`也都是通过代码控制不同的组件实现不同的功能相关API请查看文档[XChartsAPI接口](XChartsAPI-ZH.md) 。
答:请查阅`Example`下的代码,`Example13_LineSimple.cs`就是一个简单添加数据构建折线图的例子,其他`Demo`也都是通过代码控制不同的组件实现不同的功能相关API请查看文档[XChartsAPI接口](api.md) 。
## 如何显示图例_为什么有时候图例无法显示
## 如何显示图例为什么有时候图例无法显示
答:首先,你的`serie`里的`name`需有值不为空。然后开启`Legend`显示,里面的`data`可以默认为空,表示显示所有的图例。如果你只想显示部分`serie`的图例,在`data`中填入要显示的图例的`name`即可。如果`data`中的值都不是系列的`name`,那图例就不会显示。
## 如何做成预设
答:请删除chart下所有的子组件再拖成预设
答:做成prefab前执行一下`Rebuild Chart Object`重新刷新节点,避免有冗余的节点存在
## 如何在图表上画点画线等自定义内容
@@ -133,7 +137,7 @@
答:参考`Example`目录下的`Example_Dynamic.cs`。主要通过设置`maxCache`参数实现。`axis``serie`都设置相同的`maxCache``maxCache`可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。
## 如何使用背景组件_有什么条件限制
## 如何使用背景组件有什么条件限制
答:设置`background`组件的`show``true`
@@ -149,6 +153,19 @@
答:检测下代码里是否调用了`RemoveData()`并重新添加`Serie`了。如果想保留`Serie`的配置可以只`ClearData()`,然后重新添加数据。
[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI](XChartsAPI-ZH.md)
[XCharts配置项手册](XChartsConfiguration-ZH.md)
## 如何修改Serie的Symbol的颜色
答:`Symbol` 的颜色是使用的 `ItemStyle``color`
## 导入或更新XCharts时TMP报错怎么办
XCharts默认时不开启TMP所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决
1. 找到`XCharts.Runtime.asmdef``XCharts.Editor.asmdef`,手动加上 `TextMeshPro`的引用
2. 移除`PlayerSetting``Scripting Define Symbols``dUI_TextMeshPro`
`3.8.0`版本后增加[XCharts-Daemon](https://github.com/XCharts-Team/XCharts-Daemon)守护程序将XCharts-Daemon导入项目后在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef确保编译正常。
## 支持空数据吗如何实现折线图断开的效果
答:`Serie``data``double`类型,所以无法表示空数据。可通过开启`Serie``ignore`和指定`ignoreValue`来达到空数据的效果。也可以每个`SerieData`设置`ignore`参数。忽略数据后断开还是连接可设置`ignoreLineBreak`参数。

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

View File

@@ -0,0 +1,99 @@
---
title: 订阅服务
sidebar_position: 51
slug: /support
---
# 订阅服务
如需技术支持和购买扩展图表,可订阅`VIP`服务。详情可查看以下内容也可以加QQ`3525422251XCharts技术支持`或发邮件到`monitor1394@gmail.com`进行咨询。
企业商务合作可QQ和邮件咨询。
## 订阅VIP服务
订阅服务分`个人订阅``企业订阅`
- __个人订阅__`个人VIP`属于个人,不可转让,`XCharts`团队只服务于订阅当事人。
- __企业订阅__`企业VIP`属于企业,席位内可安排固定职员,职员离职后席位可重新安排,`XCharts`团队通过专属企业群为企业服务。
订阅服务有哪些优势?
- __提高工作效率节省时间成本__。`XCharts`功能强大,配置项众多,`VIP`服务可快速帮您定位,节省查找和核对的时间;`VIP`的即时回答服务可快速为您答疑解惑,快速上手,提高工作效率。
- __更多技术交流更多经验交流__。`XCharts`团队成员从业多年,有丰富的技术和工作经验。`VIP`服务不仅可以交流`XCharts`相关的内容,也可以咨询其他方面内容。`VIP`群也有更多的交流碰撞。
- __订阅扩展图表获得更新支持__。扩展图表需要订阅`VIP`服务后才能购买扩展图表超过1年后的更新支持也需要持续订阅`VIP`服务。
- __加入团队组织参与社区建设__。订阅`VIP`后可加入`GitHub`组织,参与社区建设,访问专有仓库,扩展图表仓库等其他私有仓库。
- __专属高级功能专属身份标识__。订阅`VIP`后可以享有扩展UI组件扩展图表等其他高级功能XCharts后续也会陆续推出更多高级功能。在`XCharts交流群`里拥有`专属头衔`方便快速识别优先响应第一时间回复VIP用户的各种问题。
| |免费用户|付费咨询|个人`VIP` | 个人`SVIP` | 企业`VIP` | 企业`SVIP` |
| ----- |--|--|--|--|--|--|
| 订阅费用 | -- | `98`¥ | `298`¥ | 首年`1298`¥<br/>后续`298¥`* | 首年`1698`¥<br/>后续`298¥`* | `联系我们` |
| 订阅时长 | -- | `7`天* | `1`年 | `1`年 | `1`年 | `1`年 |
| 拥有席位 | -- | `1`个席位 | `1`个席位 |`1`个席位|`1`个席位|`5`个以上席位|
| 增加席位 | -- | -- | -- | -- |支持|支持|
| __`服务方式:`__|
| 官方QQ群交流 | √ | √ | √ | √ | √ | √ |
| QQ一对一交流 | | √ | √ | √ | √ | √ |
| 专属VIP群交流 | | | √ | √ | √ | √ |
| 微信交流 | | | | | √ | √(企业专属群) |
| 电话交流 | | | | | | √ |
| __`服务内容:`__|
| 可商用可二次开发 | √ | √ | √ | √ | √ | √ |
| 有问即答 | | √ | √ | √ | √ | √ |
| 新手入门指导 | | √ | √ | √ | √ | √ |
| 开发优化指导 | | √ | √ | √ | √ | √ |
| 其他技术支持 | | | √ | √ | √ | √ |
| 问题及时处理 | | | √ | √ | √ | √ |
| 需求优先考虑 | | | √ | √ | √ | √ |
| 可另付费定制 | | | √ | √ | √ | √ |
| 可另付费加急 | | | √ | √ | √ | √ |
| 扩展UI组件 | | | √ | √ | √ | √ |
| 首页赞助展示 | | | | | | √ |
| 付费方式 | | | 二维码 | 二维码 | __公对公转账__* | __公对公转账__* |
| 支持开发票 | | | 普票 | 普票 | __可开专票__ | __可开专票__ |
| 扩展图表购买 | | | 按需购买 | __全部免费__* | __全部免费__* | __全部免费__* |
| 扩展图表源码 | | | 永久持有 | 永久持有 | 永久持有 | 永久持有 |
| 扩展图表更新 | | | 1年更新支持 | 1年更新支持 | 1年更新支持 | 1年更新支持 |
| Github仓库 | XCharts<br/>[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo) | XCharts<br/>[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo) | XCharts<br/>[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo)<br/>[XCharts-UI](https://github.com/XCharts-Team/XCharts-UI) | XCharts<br/>[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo)<br/>[XCharts-UI](https://github.com/XCharts-Team/XCharts-UI)<br/>[XCharts-Pro](https://github.com/XCharts-Team/XCharts-Pro)<br/>[XCharts-Pro-Demo](https://github.com/XCharts-Team/XCharts-Pro-Demo) | XCharts<br/>[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo)<br/>[XCharts-UI](https://github.com/XCharts-Team/XCharts-UI)<br/>[XCharts-Pro](https://github.com/XCharts-Team/XCharts-Pro)<br/>[XCharts-Pro-Demo](https://github.com/XCharts-Team/XCharts-Pro-Demo) | XCharts<br/>[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo)<br/>[XCharts-UI](https://github.com/XCharts-Team/XCharts-UI)<br/>[XCharts-Pro](https://github.com/XCharts-Team/XCharts-Pro)<br/>[XCharts-Pro-Demo](https://github.com/XCharts-Team/XCharts-Pro-Demo) |
>备注:
>*__`付费定制`__ 用户可根据自己的需求可付费定制不同的图表或新功能,只有`VIP`用户才享有`付费定制`权利。
>*__`付费加急`__ 用户可对已在开发计划中或正在开发中的功能进行付费加急,将开发优先级提到最高,并可要求在指定`截止日期`内交付,只有`VIP`用户才享有`付费加急`权利。
>*__`付费咨询`__ 付费咨询有效期`7`天,且总咨询时长不超过`7`个小时。
>*__`扩展图表`__ 购买后代码可永久持有和商用1年的更新和技术支持。可继续订阅VIP延长服务时间。
>*__`全部免费`__ 是指在订阅期间的`个人SVIP``企业VIP`的订阅用户,可免费使用全部的扩展图表。
>*__`次年付费`__ 个人SVIP和企业VIP的首年和次年付费不一样次年付费都是`298¥`
>*__`增加席位`__ 企业VIP支持增加席位每个席位`298¥`一年。
>*__`对公转账`__ 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
>*__`登记资料`__ 订阅成功后需提供手机号和Github帐号进行登记手机号用于确认归属Github帐号用于加入Github的Team组织下载源码。
## 购买扩展图表
扩展图表为另付费购买图表,只对订阅了`VIP`服务的用户开放购买。对于`个人SVIP``企业VIP`的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。
对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅`VIP`服务。
|编号|扩展图表|扩展图表|价格|
|--|--|--|--|
| 101 | [象形柱图](https://xcharts-team.github.io/docs/pictorialbar) |PictorialBarChart | 98¥ |
| 102 | [漏斗图](https://xcharts-team.github.io/docs/funnel) |FunnelChart | 98¥ |
| 103 | [3D金字塔](https://xcharts-team.github.io/docs/pyramid) |PyramidChart | 98¥ |
| 104 | [树形矩图](https://xcharts-team.github.io/docs/treemap) |TreemapChart | 98¥ |
| 201 | [3D柱图](https://xcharts-team.github.io/docs/bar3d) |Bar3DChart | 198¥ |
| 202 | [3D饼图](https://xcharts-team.github.io/docs/pie3d) |Pie3DChart | 198¥ |
| 203 | [甘特图](https://xcharts-team.github.io/docs/gantt) |GanttChart | 198¥ |
| 204 | [仪表盘](https://xcharts-team.github.io/docs/gauge) |GaugeChart | 198¥ |
| 205 | [水位图](https://xcharts-team.github.io/docs/liquid) |LiquidChart | 198¥ |
扩展图表的在线效果图也可以查看[WebGL在线Demo](https://xcharts-team.github.io/examples/)
## 捐助支持
如果这个项目对您有帮助,请右上方点 `Star` 予以支持也欢迎扫后面的二维码进行任意金额的捐助XCharts需要您的支持和帮助。
## 二维码
如果看不到二维码图片可以加Q联系`XCharts技术支持:3525422251`或邮件`monitor1394@gmail.com`咨询。
![alipay-qrcode](img/support_alipay.png)
![wechat-qrcode](img/support_wechat.png)

View File

@@ -1,9 +1,18 @@
---
title: 入门教程5分钟上手 XCharts 3.0
sidebar_position: 11
slug: /tutorial01
---
# 教程5分钟上手 XCharts 3.0
[XCharts主页](https://github.com/XCharts-Team/XCharts)</br>
[XCharts问答](XChartsFAQ-ZH.md)</br>
[XChartsAPI接口](XChartsAPI-ZH.md)</br>
[XCharts配置项手册](XChartsConfiguration-ZH.md)
> 注本教程适用XCharts 3.x版本2.x版本请看 [教程5分钟上手XCharts 2.0](https://github.com/XCharts-Team/XCharts/blob/2.0/Doc/教程5分钟上手XCharts.md)
## 使用 XCharts 前需要掌握什么
- 会简单使用Unity
- 了解UGUI会使用UGUI
- 了解Unity的MonoBehavior脚本用法知道怎么挂脚本用代码操作脚本
## 获取和导入 XCharts
@@ -29,52 +38,56 @@ XCharts可通过以下任意一种方式导入到项目
如需更新`XCharts`,删除`manifest.json`文件部分Unity版本可能是packages-lock.json文件`lock`下的`com.monitor1394.xcharts`相关内容即会重新下载编译。
- 建议先导入XCharts的守护程序非必须
守护程序[XCharts-Daemon](https://github.com/XCharts-Team/XCharts-Daemon)可以确保更新时编译正常当本地开启TextMeshPro或NewInputSystem时将会非常有用。将XCharts-Daemon导入项目后在更新XCharts时守护程序会自动根据本地TMP等的开启情况刷新asmdef确保编译正常不用手动去解决方便CI-CD等自动化流程执行。
## 添加一个简单图表
`Hierarchy`视图下右键或菜单栏`GameObject`下拉选择`XCharts->LineChart`,即可快速创建一个默认的折线图出来:
![linechart1](res/linechart1.png)
![linechart1](img/tutorial01_linechart1.png)
## 添加多个Seire
`Inspector`视图,找到`LineChart`的面板,通过`Add Serie`按钮,可以添加第二条`Line`折线:
![op_addserie](res/op_addserie.png)
![linechart2](res/linechart2.png)
![op_addserie](img/tutorial01_addserie.png)
![linechart2](img/tutorial01_linechart2.png)
## 添加其他组件
默认图表没有`Legend`,需要`Legend`组件可通过`Add Component`按钮添加:
![op_addcomponent](res/op_addcomponent.png)
![op_addcomponent](img/tutorial01_addcomponent.png)
## 添加Serie组件
Serie只自带了几个常见的组件其他组件按需额外添加。比如需要给折线图区域填充颜色可单独给`Serie`添加`AreaStyle`组件:
![op_addseriecomponent](res/op_addseriecomponent.png)
![linechart3](res/linechart3.png)
![op_addseriecomponent](img/tutorial01_addseriecomponent.png)
![linechart3](img/tutorial01_linechart3.png)
## 添加SerieData组件
如果需要个性化定制每个数据项的配置,可以单独给每个`SerieData`添加`Component`。比如我们给折线图的第二个数据单独显示`Label`
![op_addseriedatacomponent](res/op_addseriedatacomponent.png)
![linechart4](res/linechart4.png)
![op_addseriedatacomponent](img/tutorial01_addseriedatacomponent.png)
![linechart4](img/tutorial01_linechart4.png)
## 更多组件和配置参数
功能越丰富就越需要更多的组件和参数支持。XCharts有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。
XCharts经过不断的迭代优化目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。
首次接触XCharts可在 `Inspector` 视图下可以添加和调整各个组件,`Game` 视图会实时反馈调整的效果,以熟悉各种组件实现的效果。各个组件的详细参数说明可查阅[XCharts配置项手册](XChartsConfiguration-ZH.md)。
首次使用XCharts可在 `Inspector` 视图添加各种图表,给图表添加或调整里面组件,`Game` 视图会实时反馈调整的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅[XCharts配置项手册](configuration.md)。
## 如何快速调整参数
`XCharts`是配置参数驱动。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改`Hierarchy`视图下的节点,因为那些节点是由`XCharts`内部根据配置参数生成的,即使改了也会在刷新时还原回来。
`XCharts`是配置和数据来驱动。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改`Hierarchy`视图下的节点,因为那些节点是由`XCharts`内部根据配置和数据生成的,即使改了也会在刷新时还原回来。
快速定位你想要改的效果对应的组件这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头如何定位第一步X轴定位到`XAxis0`;第二步,轴线定位到`AxisLine`;最后,再去看`AxisLine`组件下有没有这样的参数可以实现这个效果。
如何快速定位你想要改的效果对应的组件这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头如何定位第一步X轴定位到`XAxis0`;第二步,轴线定位到`AxisLine`;最后,再去看`AxisLine`组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅[XCharts配置项手册](configuration.md)
`XCharts`提供从全局`Theme`、系列`Serie`、单个数据项`SerieData`全方位的参数配置。优先级从大到小为:`SerieData`->`Serie`->`Theme`。以`ItemStyle`的颜色为例:
`XCharts`提供从全局`Theme`、系列`Serie`、单个数据项`SerieData`三方面全方位的参数配置。优先级从大到小为:`SerieData`->`Serie`->`Theme`。以`ItemStyle`的颜色为例:
1. 如果`SerieData``ItemStyle`配置有非`0000`颜色值,则优先用这个颜色值。
2. 如果`Serie``ItemStyle`配置有非`0000`颜色值,则优先用这个颜色值。
@@ -86,7 +99,7 @@ Serie只自带了几个常见的组件其他组件按需额外添加。比如
`gameObject`挂上`LineChart`脚本:
```C#
```csharp
var chart = gameObject.GetComponent<LineChart>();
if (chart == null)
{
@@ -97,49 +110,49 @@ if (chart == null)
调整大小:
```C#
```csharp
chart.SetSize(580, 300);//代码动态设置尺寸或直接操作chart.rectTransform或直接在Inspector上改
```
设置标题:
```C#
var title = chart.GetOrAddChartComponent<Title>();
```csharp
var title = chart.EnsureChartComponent<Title>();
title.text = "Simple Line";
```
设置提示框和图例是否显示:
```C#
var tooltip = chart.GetOrAddChartComponent<Tooltip>();
```csharp
var tooltip = chart.EnsureChartComponent<Tooltip>();
tooltip.show = true;
var legend = chart.GetOrAddChartComponent<Legend>();
var legend = chart.EnsureChartComponent<Legend>();
legend.show = false;
```
设置坐标轴:
```C#
var xAxis = chart.GetOrAddChartComponent<XAxis>();
```csharp
var xAxis = chart.EnsureChartComponent<XAxis>();
xAxis.splitNumber = 10;
xAxis.boundaryGap = true;
xAxis.type = Axis.AxisType.Category;
var yAxis = chart.GetOrAddChartComponent<YAxis>();
var yAxis = chart.EnsureChartComponent<YAxis>();
yAxis.type = Axis.AxisType.Value;
```
清空默认数据,添加`Line`类型的`Serie`用于接收数据:
```C#
```csharp
chart.RemoveData();
chart.AddSerie<Line>("line");
```
添加10个数据
```C#
```csharp
for (int i = 0; i < 10; i++)
{
chart.AddXAxisData("x" + i);
@@ -149,13 +162,13 @@ for (int i = 0; i < 10; i++)
这样一个简单的折线图就出来了:
![linechart-simple](res/linechart-simple.png)
![tutorial01_linechart_simple](img/tutorial01_linechart_simple.png)
如果一个Chart里面有多个系列时则Axis的data只需要加一次不要多个循环加重复了。记住Axis的数据个数要和Serie的数据个数一致。
完整代码请查阅`Examples``Example13_LineSimple.cs`
你还可以用代码控制更多的参数,`Examples`下还有更多的其他例子,凡是`Inspector`上看到的可配置的参数,都可以通过代码来设置。[XCharts配置项手册](XChartsConfiguration-ZH.md)里面的所有参数都是可以通过代码控制的。
你还可以用代码控制更多的参数,`Examples`下还有更多的其他例子,凡是`Inspector`上看到的可配置的参数,都可以通过代码来设置。[XCharts配置项手册](configuration.md)里面的所有参数都是可以通过代码控制的。
另外,除非定制,建议调用`Chart`下提供的`public`接口,特别是数据相关操作部分。这些接口内部会做一些关联处理,比如刷新图表等。常见的接口有:
@@ -168,20 +181,21 @@ for (int i = 0; i < 10; i++)
7. `chart.UpdateXAxisData()`更新X轴数据
8. `chart.UpdateDataName()`更新Serie数据的名字
XCharts内部有自动刷新机制但也是在一定条件。如果自己调用了内部组件的接口,碰到组件没有刷新,确实找不到原因的话,可以用以下两个接口强制刷新:
XCharts内部有自动刷新机制但也是在一定条件才会触发。如果自己调用了内部组件的接口,碰到组件没有刷新,确实找不到原因的话,可以用以下两个接口强制刷新:
1. `chart.RefreshAllComponent()`:刷新图表组件,会重新初始化所有组件,不建议频繁待用。
2. `chart.RefreshChart()`:刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
3. 各个组件也可以通过`SetAllDirty()`只刷新自己。
## 使用TextMeshPro
XCharts支持TextMeshPro但默认是不开启的需要自己手动切换。可通过以下方式开启和关闭
![textmeshpro1](res/op_textmeshpro.png)
![textmeshpro1](img/tutorial01_textmeshpro.png)
开启后需要设置好TextMeshPro要用的全局字体也可以在主题Theme里单独设置
![textmeshpro-font](res/op_textmeshpro3.png)
![textmeshpro-font](img/tutorial01_textmeshpro_font.png)
建议在项目初就规划好是否使用TextMeshPro并设置好字体。在已有很多图表的情况下切换TMP时可能某些图表无法自动刷新可以手动点击`Rebuild Chart Object`按钮来重建图表,即可正常初始化。
@@ -190,30 +204,34 @@ XCharts支持TextMeshPro但默认是不开启的需要自己手动切换
1. 找到`XCharts.Runtime.asmdef``XCharts.Editor.asmdef`,手动加上 `TextMeshPro`的引用
2. 移除`PlayerSetting``Scripting Define Symbols``dUI_TextMeshPro`
`3.8.0`版本后增加[XCharts-Daemon](https://github.com/XCharts-Team/XCharts-Daemon)守护程序将XCharts-Daemon导入项目后在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef确保编译正常。
## 用代码改图表参数
`Inspector`上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是serie上、还是在具体的数据项上
`Inspector`上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。
### 改主组件上的参数
需要先获取组件,再修改里面的参数:
```C#
var title = chart.GetOrAddChartComponent<Title>();
```csharp
var title = chart.EnsureChartComponent<Title>();
title.text = "Simple LineChart";
title.subText = "normal line";
var xAxis = chart.GetOrAddChartComponent<XAxis>();
var xAxis = chart.EnsureChartComponent<XAxis>();
xAxis.splitNumber = 10;
xAxis.boundaryGap = true;
xAxis.type = Axis.AxisType.Category;
```
> 注:低版本没有`EnsureChartComponent()`接口时,用`GetOrAddChartComponent()`
### 改Serie的参数
新添加的Serie
对于新添加的Serie
```C#
```csharp
var serie = chart.AddSerie<Pie>();
serie.center[0] = 0.5f;
serie.center[1] = 0.5f;
@@ -223,9 +241,9 @@ serie.animation.dataChangeEnable = true;
serie.roundCap = true;
```
已存在的Serie
对于已存在的Serie
```C#
```csharp
var serie = chart.GetSerie<Pie>();
serie.center[0] = 0.5f;
serie.center[1] = 0.5f;
@@ -237,26 +255,21 @@ serie.roundCap = true;
给Serie添加额外组件
```C#
serie.AddExtraComponent<AreaStyle>();
```csharp
serie.EnsureComponent<AreaStyle>();
var label = serie1.AddExtraComponent<LabelStyle>();
var label = serie1.EnsureComponent<LabelStyle>();
label.offset = new Vector3(0,20,0);
```
### 改数据项SerieData上的参数
```C#
```csharp
var serieData = chart.AddData(0, 20);
//var serieData = serie.GetSerieData(0); //从已有数据中获取
serieData.radius = 10;
var itemStyle = serieData.GetOrAddComponent<ItemStyle>(); //给数据项添加ItemStyle组件
var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
itemStyle.color = Color.blue;
```
[XCharts主页](https://github.com/XCharts-Team/XCharts)</br>
[XCharts问答](XChartsFAQ-ZH.md)</br>
[XChartsAPI接口](XChartsAPI-ZH.md)</br>
[XCharts配置项手册](XChartsConfiguration-ZH.md)

View File

@@ -14,8 +14,9 @@ namespace XCharts.Editor
{
public static readonly GUIContent btnAddSerie = new GUIContent("Add Serie", "");
public static readonly GUIContent btnAddComponent = new GUIContent("Add Main Component", "");
public static readonly GUIContent btnCovertXYAxis = new GUIContent("Covert XY Axis", "");
public static readonly GUIContent btnConvertXYAxis = new GUIContent("Convert XY Axis", "");
public static readonly GUIContent btnRebuildChartObject = new GUIContent("Rebuild Chart Object", "");
public static readonly GUIContent btnSaveAsImage = new GUIContent("Save As Image", "");
public static readonly GUIContent btnCheckWarning = new GUIContent("Check Warning", "");
public static readonly GUIContent btnHideWarning = new GUIContent("Hide Warning", "");
}
@@ -272,13 +273,17 @@ namespace XCharts.Editor
{
if (m_Chart.HasChartComponent<XAxis>() && m_Chart.HasChartComponent<YAxis>())
{
if (GUILayout.Button(Styles.btnCovertXYAxis))
m_Chart.CovertXYAxis(0);
if (GUILayout.Button(Styles.btnConvertXYAxis))
m_Chart.ConvertXYAxis(0);
}
if (GUILayout.Button(Styles.btnRebuildChartObject))
{
m_Chart.RebuildChartObject();
}
if (GUILayout.Button(Styles.btnSaveAsImage))
{
m_Chart.SaveAsImage();
}
if (m_CheckWarning)
{
EditorGUILayout.BeginHorizontal();

View File

@@ -4,6 +4,70 @@ using XCharts.Runtime;
namespace XCharts.Editor
{
[CustomPropertyDrawer(typeof(XCharts.Runtime.AnimationInfo), true)]
public class AnimationInfoDrawer : BasePropertyDrawer
{
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
base.OnGUI(pos, prop, label);
if (MakeComponentFoldout(prop, "m_Enable", true))
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Delay");
PropertyField(prop, "m_Duration");
--EditorGUI.indentLevel;
}
}
}
[CustomPropertyDrawer(typeof(XCharts.Runtime.AnimationChange), true)]
public class AnimationChangeDrawer : BasePropertyDrawer
{
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
base.OnGUI(pos, prop, label);
if (MakeComponentFoldout(prop, "m_Enable", true))
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Duration");
--EditorGUI.indentLevel;
}
}
}
[CustomPropertyDrawer(typeof(XCharts.Runtime.AnimationAddition), true)]
public class AnimationAdditionDrawer : BasePropertyDrawer
{
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
base.OnGUI(pos, prop, label);
if (MakeComponentFoldout(prop, "m_Enable", true))
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Duration");
--EditorGUI.indentLevel;
}
}
}
[CustomPropertyDrawer(typeof(XCharts.Runtime.AnimationInteraction), true)]
public class AnimationInteractionDrawer : BasePropertyDrawer
{
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
base.OnGUI(pos, prop, label);
if (MakeComponentFoldout(prop, "m_Enable", true))
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Duration");
PropertyField(prop, "m_Width");
PropertyField(prop, "m_Radius");
PropertyField(prop, "m_Offset");
--EditorGUI.indentLevel;
}
}
}
[CustomPropertyDrawer(typeof(AnimationStyle), true)]
public class AnimationDrawer : BasePropertyDrawer
{
@@ -15,13 +79,12 @@ namespace XCharts.Editor
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Type");
PropertyField(prop, "m_FadeInDuration");
PropertyField(prop, "m_FadeInDelay");
PropertyField(prop, "m_FadeOutDuration");
PropertyField(prop, "m_FadeOutDelay");
PropertyField(prop, "m_DataChangeEnable");
PropertyField(prop, "m_DataChangeDuration");
PropertyField(prop, "m_ActualDuration");
PropertyField(prop, "m_UnscaledTime");
PropertyField(prop, "m_FadeIn");
PropertyField(prop, "m_FadeOut");
PropertyField(prop, "m_Change");
PropertyField(prop, "m_Addition");
PropertyField(prop, "m_Interaction");
--EditorGUI.indentLevel;
}
}

View File

@@ -17,9 +17,9 @@ namespace XCharts.Editor
PropertyField(prop, "m_Origin");
PropertyField(prop, "m_Color");
PropertyField(prop, "m_ToColor");
PropertyField(prop, "m_HighlightColor");
PropertyField(prop, "m_HighlightToColor");
PropertyField(prop, "m_Opacity");
PropertyField(prop, "m_ToTop");
PropertyField(prop, "m_InnerFill");
--EditorGUI.indentLevel;
}
}

View File

@@ -73,6 +73,14 @@ namespace XCharts.Editor
return prop.propertyPath + "_" + index;
}
protected void AddHelpBox(string message, MessageType type = MessageType.Warning, int line = 2)
{
var offset = EditorGUI.indentLevel * ChartEditorHelper.INDENT_WIDTH;
EditorGUI.HelpBox(new Rect(m_DrawRect.x + offset, m_DrawRect.y, m_DrawRect.width - offset, EditorGUIUtility.singleLineHeight * line), message, type);
for (int i = 0; i < line; i++)
AddSingleLineHeight();
}
protected void AddSingleLineHeight()
{
m_Heights[m_KeyName] += EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing;

View File

@@ -15,7 +15,7 @@ namespace XCharts.Editor
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Content");
PropertyField(prop, "m_Position");
PropertyField(prop, "m_Location");
//PropertyField(prop, "m_MarkRect");
//PropertyField(prop, "m_MarkStyle");
PropertyField(prop, "m_LabelStyle");

View File

@@ -148,9 +148,6 @@ namespace XCharts.Editor
PropertyField(prop, "m_LineWidth");
PropertyField(prop, "m_LineSymbolSize");
PropertyField(prop, "m_ScatterSymbolSize");
PropertyField(prop, "m_SelectedRate");
PropertyField(prop, "m_PieTooltipExtraRadius");
PropertyField(prop, "m_PieSelectedOffset");
PropertyField(prop, "m_CandlestickColor");
PropertyField(prop, "m_CandlestickColor0");
PropertyField(prop, "m_CandlestickBorderColor");

View File

@@ -1,43 +0,0 @@
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using XCharts.Runtime;
namespace XCharts.Editor
{
[CustomPropertyDrawer(typeof(Emphasis), true)]
public class EmphasisDrawer : BasePropertyDrawer
{
public override string ClassName { get { return "Emphasis"; } }
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
base.OnGUI(pos, prop, label);
if (MakeComponentFoldout(prop, "m_Show", true))
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Label");
PropertyField(prop, "m_LabelLine");
PropertyField(prop, "m_ItemStyle");
--EditorGUI.indentLevel;
}
}
}
[CustomPropertyDrawer(typeof(EmphasisItemStyle), true)]
public class EmphasisItemStyleDrawer : ItemStyleDrawer
{
public override string ClassName { get { return "EmphasisItemStyle"; } }
}
[CustomPropertyDrawer(typeof(EmphasisLabelStyle), true)]
public class EmphasisLabelStyleDrawer : LabelStyleDrawer
{
public override string ClassName { get { return "EmphasisLabel"; } }
}
[CustomPropertyDrawer(typeof(EmphasisLabelLine), true)]
public class EmphasisLabelLineDrawer : LabelLineDrawer
{
public override string ClassName { get { return "EmphasisLabelLine"; } }
}
}

View File

@@ -18,6 +18,7 @@ namespace XCharts.Editor
PropertyField(prop, "m_Color0");
PropertyField(prop, "m_ToColor");
PropertyField(prop, "m_ToColor2");
PropertyField(prop, "m_MarkColor");
PropertyField(prop, "m_BackgroundColor");
PropertyField(prop, "m_BackgroundWidth");
PropertyField(prop, "m_CenterColor");

View File

@@ -21,6 +21,7 @@ namespace XCharts.Editor
PropertyField(prop, "m_LineGap");
PropertyField(prop, "m_LineLength1");
PropertyField(prop, "m_LineLength2");
PropertyField(prop, "m_LineEndX");
PropertyField(prop, "m_StartSymbol");
PropertyField(prop, "m_EndSymbol");
--EditorGUI.indentLevel;

View File

@@ -20,6 +20,7 @@ namespace XCharts.Editor
PropertyField(prop, "m_AutoOffset");
PropertyField(prop, "m_Offset");
PropertyField(prop, "m_Distance");
PropertyField(prop, "m_AutoRotate");
PropertyField(prop, "m_Rotate");
PropertyField(prop, "m_Width");
PropertyField(prop, "m_Height");

View File

@@ -44,6 +44,20 @@ namespace XCharts.Editor
PropertyField(prop, "m_Interval");
PropertyField(prop, "m_Distance");
PropertyField(prop, "m_AutoColor");
PropertyField(prop, "m_ShowStartLine");
PropertyField(prop, "m_ShowEndLine");
}
}
[CustomPropertyDrawer(typeof(AxisMinorSplitLine), true)]
public class AxisMinorSplitLineDrawer : BaseLineDrawer
{
public override string ClassName { get { return "MinorSplitLine"; } }
protected override void DrawExtendeds(SerializedProperty prop)
{
base.DrawExtendeds(prop);
//PropertyField(prop, "m_Distance");
//PropertyField(prop, "m_AutoColor");
}
}
@@ -63,4 +77,16 @@ namespace XCharts.Editor
PropertyField(prop, "m_AutoColor");
}
}
[CustomPropertyDrawer(typeof(AxisMinorTick), true)]
public class AxisMinorTickDrawer : BaseLineDrawer
{
public override string ClassName { get { return "MinorTick"; } }
protected override void DrawExtendeds(SerializedProperty prop)
{
base.DrawExtendeds(prop);
PropertyField(prop, "m_SplitNumber");
//PropertyField(prop, "m_AutoColor");
}
}
}

View File

@@ -21,6 +21,9 @@ namespace XCharts.Editor
PropertyField(prop, "m_Width");
PropertyField(prop, "m_Length");
PropertyField(prop, "m_Opacity");
PropertyField(prop, "m_DashLength");
PropertyField(prop, "m_DotLength");
PropertyField(prop, "m_GapLength");
--EditorGUI.indentLevel;
}
}

View File

@@ -0,0 +1,27 @@
using UnityEditor;
using UnityEngine;
using XCharts.Runtime;
namespace XCharts.Editor
{
[CustomPropertyDrawer(typeof(MLValue), true)]
public class MLValueDrawer : BasePropertyDrawer
{
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
Rect drawRect = pos;
drawRect.height = EditorGUIUtility.singleLineHeight;
SerializedProperty m_Percent = prop.FindPropertyRelative("m_Type");
SerializedProperty m_Color = prop.FindPropertyRelative("m_Value");
ChartEditorHelper.MakeTwoField(ref drawRect, drawRect.width, m_Percent, m_Color, prop.displayName);
drawRect.y += EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing;
}
public override float GetPropertyHeight(SerializedProperty prop, GUIContent label)
{
return 1 * EditorGUIUtility.singleLineHeight + 1 * EditorGUIUtility.standardVerticalSpacing;
}
}
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7de9b5e4c5d474fdd88ebb89f0924305
guid: 364b6129b88e14605b1a1454b7bf876b
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -0,0 +1,25 @@
using UnityEditor;
using UnityEngine;
using XCharts.Runtime;
namespace XCharts.Editor
{
[CustomPropertyDrawer(typeof(MarqueeStyle), true)]
public class MarqueeStyleDrawer : BasePropertyDrawer
{
public override string ClassName { get { return "MarqueeStyle"; } }
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
base.OnGUI(pos, prop, label);
if (MakeComponentFoldout(prop, "m_Show", true))
{
++EditorGUI.indentLevel;
PropertyField(prop, "m_Apply");
PropertyField(prop, "m_RealRect");
PropertyField(prop, "m_LineStyle");
PropertyField(prop, "m_AreaStyle");
--EditorGUI.indentLevel;
}
}
}
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 4b4ba2a9503ae46b1b7b1ae94ec59127
guid: e1a225478c2e14da3854aea28fb59882
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -15,10 +15,11 @@ namespace XCharts.Editor
if (MakeComponentFoldout(prop, "m_Show", true))
{
++EditorGUI.indentLevel;
var type = (SymbolType) prop.FindPropertyRelative("m_Type").enumValueIndex;
var type = (SymbolType)prop.FindPropertyRelative("m_Type").enumValueIndex;
PropertyField(prop, "m_Type");
if (type == SymbolType.Custom)
{
AddHelpBox("Custom symbol only work in PictorialBar serie", MessageType.Warning);
PropertyField(prop, "m_Image");
PropertyField(prop, "m_ImageType");
PropertyField(prop, "m_Width");
@@ -27,16 +28,16 @@ namespace XCharts.Editor
}
PropertyField(prop, "m_Gap");
PropertyField(prop, "m_SizeType");
switch ((SymbolSizeType) prop.FindPropertyRelative("m_SizeType").enumValueIndex)
switch ((SymbolSizeType)prop.FindPropertyRelative("m_SizeType").enumValueIndex)
{
case SymbolSizeType.Custom:
PropertyField(prop, "m_Size");
PropertyField(prop, "m_SelectedSize");
break;
case SymbolSizeType.FromData:
PropertyField(prop, "m_DataIndex");
PropertyField(prop, "m_DataScale");
PropertyField(prop, "m_SelectedDataScale");
PropertyField(prop, "m_MinSize");
PropertyField(prop, "m_MaxSize");
break;
case SymbolSizeType.Function:
break;

View File

@@ -22,11 +22,13 @@ namespace XCharts.Editor
PropertyField(prop, "m_MaxPainter");
PropertyField(prop, "m_BasePainterMaterial");
PropertyField(prop, "m_SeriePainterMaterial");
PropertyField(prop, "m_UpperPainterMaterial");
PropertyField(prop, "m_TopPainterMaterial");
PropertyField(prop, "m_LineSmoothStyle");
PropertyField(prop, "m_LineSmoothness");
PropertyField(prop, "m_LineSegmentDistance");
PropertyField(prop, "m_CicleSmoothness");
PropertyField(prop, "m_AxisMaxSplitNumber");
PropertyField(prop, "m_LegendIconLineWidth");
PropertyListField(prop, "m_LegendIconCornerRadius", true);
--EditorGUI.indentLevel;

View File

@@ -0,0 +1,55 @@
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using XCharts.Runtime;
namespace XCharts.Editor
{
[CustomPropertyDrawer(typeof(StateStyle), true)]
public class StateStyleDrawer : BasePropertyDrawer
{
public override string ClassName { get { return "StateStyle"; } }
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
{
base.OnGUI(pos, prop, label);
if (MakeComponentFoldout(prop, "m_Show", true))
{
++EditorGUI.indentLevel;
OnCustomGUI(prop);
PropertyField(prop, "m_Symbol");
PropertyField(prop, "m_ItemStyle");
PropertyField(prop, "m_Label");
PropertyField(prop, "m_LabelLine");
PropertyField(prop, "m_LineStyle");
PropertyField(prop, "m_AreaStyle");
--EditorGUI.indentLevel;
}
}
protected virtual void OnCustomGUI(SerializedProperty prop) { }
}
[CustomPropertyDrawer(typeof(EmphasisStyle), true)]
public class EmphasisStyleDrawer : StateStyleDrawer
{
public override string ClassName { get { return "EmphasisStyle"; } }
protected override void OnCustomGUI(SerializedProperty prop)
{
PropertyField(prop, "m_Scale");
PropertyField(prop, "m_Focus");
PropertyField(prop, "m_BlurScope");
}
}
[CustomPropertyDrawer(typeof(BlurStyle), true)]
public class BlurStyleDrawer : StateStyleDrawer
{
public override string ClassName { get { return "BlurStyle"; } }
}
[CustomPropertyDrawer(typeof(SelectStyle), true)]
public class SelectStyleDrawer : StateStyleDrawer
{
public override string ClassName { get { return "SelectStyle"; } }
}
}

Some files were not shown because too many files have changed in this diff Show More